Bugfix: lack of submission time in detailed result

This commit is contained in:
Vivek Santayana 2021-12-06 22:11:16 +00:00
parent 700c5ff39d
commit d7ef628640

View File

@ -57,7 +57,11 @@
<span class="badge bg-danger">Late</span>
{% endif %}
</div>
{{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }}
{% if submission_time in entry %}
{{ entry.submission_time.strftime('%d %b %Y %H:%M:%S') }}
{% else %}
Incomplete
{% endif %}
</li>
<li class="list-group-item list-group-item-action">
<div class="d-flex w-100 justify-content-between">