From 8ea398113d3c3f7295abdf011b55071fb6efdf51 Mon Sep 17 00:00:00 2001 From: Or Ronai Date: Fri, 15 Oct 2021 13:43:52 +0300 Subject: [PATCH] fix: Exercise number in view page - Changed the exercise to be number instead of id --- lms/templates/view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/view.html b/lms/templates/view.html index 5af0cd87..bc9e5da9 100644 --- a/lms/templates/view.html +++ b/lms/templates/view.html @@ -3,7 +3,7 @@ {% block page_content %}
-

{{ _('Exercise view') }} {{ solution['exercise']['id'] }}: {{ solution['exercise']['subject'] }}

+

{{ _('Exercise view') }} {{ solution['exercise']['number'] }}: {{ solution['exercise']['subject'] }}

{% if not is_manager and not shared_url %} {% if solution['state'] == 'DONE' %}

{{ _('Your solution had checked!') }} {{ _('Click on the red lines in order to see the comments.') }}