diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 3aa8fd50..278848aa 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -26,10 +26,8 @@

Filter Displayed Signoffs

{% endfor %} - {% if user.is_authenticated %}
- {% endif %}
diff --git a/templates/todolists/view.html b/templates/todolists/view.html index 5f57966b..5b08ab47 100644 --- a/templates/todolists/view.html +++ b/templates/todolists/view.html @@ -2,6 +2,8 @@ {% load static %} {% load package_extras %} {% load todolists %} +{% load tz %} +{% load humanize %} {% block title %}Arch Linux - Todo: {{ list.name }}{% endblock %} @@ -103,7 +105,15 @@

Filter Todo List Packages

{{ pkg.get_status_display }} {% endif %} - {{ pkg.user|default:"" }} + + {% if pkg.user %} + {% if user.is_authenticated %} + {{ pkg.user }} ({{ pkg.last_modified|naturaltime }}) + {% else %} + {{ pkg.user }} ({{ pkg.last_modified|naturaltime }}) + {% endif %} + {% endif %} + {% endfor %}