]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Show admins when an account was last changed
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Aug 2019 13:39:44 +0000 (14:39 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 15 Aug 2019 13:39:44 +0000 (14:39 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/user.html

index 45bddc26691bf62e3696a45fbecb9e6b82a3daa1..c50e3fa64eb5a7e1e3145cc92fc49f4e7c182bd1 100644 (file)
@@ -3,7 +3,7 @@
 {% block main %}
        {% import phonenumbers %}
 
-       <div class="card p-3">
+       <div class="card p-3 mb-3">
                <div class="card-body">
                        <div class="row">
                                <div class="col">
                        {% end %}
                </div>
        </div>
+
+       {% if current_user.is_admin() %}
+               <p class="small text-muted">
+                       {{ _("Last Modified %s") % locale.format_date(account.modified_at) }}
+               </p>
+       {% end %}
 {% end block %}