Bugfix: lack of submission time in detailed result

This commit is contained in:
Vivek Santayana 2021-12-06 22:11:16 +00:00
parent 9ebec5000c
commit ee50306370

View File

@ -57,7 +57,11 @@
<span class="badge bg-danger">Late</span> <span class="badge bg-danger">Late</span>
{% endif %} {% endif %}
</div> </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>
<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">