Commit f3238d61009b65bf1011bd8675fa8403aadef893

Authored by Marcel Kawski
1 parent def7af7f

Add displaying annotation finish_time on the documents list

collector/storage/templates/storage/document_list.html
... ... @@ -121,10 +121,11 @@
121 121 <td>
122 122 {% for annotation in document.annotations.all %}
123 123 {% if annotation.finished == True %}
124   - {{ annotation.user.username }} |
  124 + {{ annotation.user.username }} ({{ annotation.finish_time|date:"d.m.Y" }})
125 125 {% else %}
126   - <span class="unfinished-ann-username">{{ annotation.user.username }}</span> |
  126 + <span class="unfinished-ann-username">{{ annotation.user.username }}</span>
127 127 {% endif %}
  128 + <br>
128 129 {% endfor %}
129 130 </td>
130 131 </tr>
... ...