]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Show when a user has joined
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Oct 2019 18:53:56 +0000 (18:53 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 28 Oct 2019 18:53:56 +0000 (18:53 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/user.html

index 5597c71d1ea9f60887e9b030dc0fcc18f6f86d50..edbef8aed830fb96b01c70d80b27428c48ef62df 100644 (file)
                </div>
        </div>
 
-       {% if current_user.is_admin() %}
-               <ul class="list-unstyled small text-muted">
+       <ul class="list-unstyled small text-muted">
+               <li>
+                       {{ _("Joined %s") % locale.format_date(account.created_at, shorter=True) }}
+               </li>
+
+               {% if current_user.is_admin() %}
                        <li>
                                {{ _("Last Modified %s") % locale.format_date(account.modified_at) }}
                        </li>
                                        {% end %}
                                </li>
                        {% end %}
-               </ul>
-       {% end %}
+               {% end %}
+       </ul>
 {% end block %}