Refactor exam overview header: move author display earlier and remove duplicate block for improved clarity
This commit is contained in:
@@ -44,6 +44,8 @@
|
||||
Time limit: <strong>{{ exam.time_limit }}</strong> seconds (<span title="Time per question: {% widthratio exam.time_limit question_number 1 %} seconds">per question</span>)
|
||||
</div>
|
||||
|
||||
<div class="mt-2 small text-muted">Author(s): {% for author in exam.author.all %}{{ author }}{% if not forloop.last %}, {% endif %}{% endfor %}</div>
|
||||
|
||||
<div class="mt-2">
|
||||
Exam mode: <strong>{{ exam.exam_mode }}</strong>
|
||||
{% if exam.exam_mode %}
|
||||
@@ -178,17 +180,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12 col-md-6">
|
||||
{% if exam.examcollection %}
|
||||
<div class="small">Exam Collection: <a href="{{ exam.examcollection.get_absolute_url }}">{{ exam.examcollection }}</a></div>
|
||||
{% endif %}
|
||||
<div class="small mt-1">Author(s): {% for author in exam.author.all %}{{ author }}{% if not forloop.last %}, {% endif %}{% endfor %}</div>
|
||||
</div>
|
||||
<div class="col-12 col-md-6 text-md-end small mt-2 mt-md-0">
|
||||
<span title="If true the results from this exam will be visible to supervisors automatically.">Supervisor visible: {{ exam.results_supervisor_visible }}</span>
|
||||
</div>
|
||||
</div>
|
||||
{# Authors and supervisor visibility moved earlier in the header; duplicate block removed #}
|
||||
</div>
|
||||
|
||||
{% block css %}
|
||||
|
||||
Reference in New Issue
Block a user