Trying to fix it again

This commit is contained in:
Vivek Santayana 2021-12-06 22:24:34 +00:00
parent 9cef9819fe
commit b4e7efdbe5

View File

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