File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 2
2
{% load static %}
3
3
{% load package_extras %}
4
4
{% load todolists %}
5
+ {% load tz %}
6
+ {% load humanize %}
5
7
6
8
{% block title %}Arch Linux - Todo: {{ list.name }}{% endblock %}
7
9
@@ -103,7 +105,15 @@ <h3>Filter Todo List Packages</h3>
103
105
< span class ="{{ pkg.status_css_class }} "> {{ pkg.get_status_display }}</ span >
104
106
{% endif %}
105
107
</ td >
106
- < td > {{ pkg.user|default:"" }}</ td >
108
+ < td >
109
+ {% if pkg.user %}
110
+ {% if user.is_authenticated %}
111
+ {{ pkg.user }} < span title ="{{ pkg.last_modified|timezone:user.userprofile.time_zone|date: "Y-m-d H:i T " }}"> ({{ pkg.last_modified|naturaltime }})</ span >
112
+ {% else %}
113
+ {{ pkg.user }} < span title ="{{ pkg.last_modified|date: "Y-m-d H:i T " }}"> ({{ pkg.last_modified|naturaltime }})</ span >
114
+ {% endif %}
115
+ {% endif %}
116
+ </ td >
107
117
</ tr >
108
118
{% endfor %}
109
119
</ tbody >
You can’t perform that action at this time.
0 commit comments