Bugfix: lack of submission time in detailed result

This commit is contained in:
Vivek Santayana 2021-12-06 22:11:16 +00:00
parent fa43ab1879
commit cdd35117bf

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">