Skip to content

Commit e449ba0

Browse files
authored
fix: Exercise number in view page (#340)
- Changed the exercise to be number instead of id
1 parent cf9039f commit e449ba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lms/templates/view.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{% block page_content %}
44
<div id="page-view">
55
<div id="view-head">
6-
<h1>{{ _('Exercise view') }} {{ solution['exercise']['id'] }}: {{ solution['exercise']['subject'] }}</h1>
6+
<h1>{{ _('Exercise view') }} {{ solution['exercise']['number'] }}: {{ solution['exercise']['subject'] }}</h1>
77
{% if not is_manager and not shared_url %}
88
{% if solution['state'] == 'DONE' %}
99
<p class="checked-msg {{ direction }}"><strong>{{ _('Your solution had checked!') }}</strong> {{ _('Click on the red lines in order to see the comments.') }}</p>

0 commit comments

Comments
 (0)