Skip to content

Commit 2879804

Browse files
committed
todolists: include last_modified in template
Closes #551
1 parent 61f7ddc commit 2879804

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

templates/todolists/view.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
{% load static %}
33
{% load package_extras %}
44
{% load todolists %}
5+
{% load humanize %}
56

67
{% block title %}Arch Linux - Todo: {{ list.name }}{% endblock %}
78

@@ -103,7 +104,11 @@ <h3>Filter Todo List Packages</h3>
103104
<span class="{{ pkg.status_css_class }}">{{ pkg.get_status_display }}</span>
104105
{% endif %}
105106
</td>
106-
<td>{{ pkg.user|default:"" }}</td>
107+
<td>
108+
{% if pkg.user %}
109+
{{ pkg.user }} <span title="{{ pkg.last_modified|date:"Y-m-d H:i T" }}">({{ pkg.last_modified|naturaltime }})</span>
110+
{% endif %}
111+
</td>
107112
</tr>
108113
{% endfor %}
109114
</tbody>

0 commit comments

Comments
 (0)