This fixes it, hopefully

This commit is contained in:
Vivek Santayana 2021-12-06 22:47:54 +00:00
parent 13121b3037
commit 1b2b4f8dc6

View File

@ -57,13 +57,13 @@
<span class="badge bg-danger">Late</span>
{% endif %}
</div>
{% if entry.submission_time is defined %}
{% if 'submission_time' in entry %}
{{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }}
{% else %}
Incomplete
{% endif %}
</li>
{% if entry.results is defined %}
{% if 'results' in entry %}
<li class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">
<h5 class="mb-1">Score</h5>
@ -76,11 +76,9 @@
</div>
{{ entry.results.grade[0]|upper }}{{ entry.results.grade[1:]}}
</li>
{% else %}
No results to display.
{% endif %}
</ul>
{% if entry.results is defined %}
{% if 'results' in entry %}
<div class="accordion" id="results-breakdown">
<div class="accordion-item">
<h2 class="accordion-header" id="by-category">