feat: show exercise index in the title

Show exercise as "Exercise 2.1: Draw a Circle".
This commit is contained in:
Anand Chitipothu
2021-06-01 05:49:45 +05:30
parent b9a93bb160
commit a12a52747e
3 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@
<h1>Batch Progress</h1>
{% for exercise in report.exercises %}
<div class="exercise-submissions">
<h2>{{exercise.title}}</h2>
<h2>Exercise {{exercise.index_label}}: {{exercise.title}}</h2>
{% for s in report.get_submissions_of_exercise(exercise.name) %}
<div class="submission">
<h4><a href="/{{s.owner.username}}">{{s.owner.full_name}}</a></h4>