]> git.ipfire.org Git - ipfire.org.git/commitdiff
people: Show username next to name
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Nov 2019 15:23:49 +0000 (15:23 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 29 Nov 2019 15:23:49 +0000 (15:23 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/people/base.html

index aeda5058066e15903df5e4dcc0fe60542aac0467..e8f7ef9c159a19ab84a1038d1c22346cbbac4378 100644 (file)
@@ -8,9 +8,12 @@
                        <div class="col-12 col-md-3">
                                <img class="img-fluid rounded-circle my-2" src="{{ account.avatar_url(512) }}" alt="{{ account }}" />
 
-                               <h3 class="my-3">
-                                       <a class="text-white" href="/users/{{ account.uid }}">{{ account }}</a>
-                               </h3>
+                               <div class="my-3">
+                                       <h3 class="mb-0">
+                                               <a class="text-white" href="/users/{{ account.uid }}">{{ account }}</a>
+                                       </h3>
+                                       <span class="text-monospace">{{ account.uid }}</span>
+                               </div>
 
                                {% if current_user.is_staff() and account.has_sip() %}
                                        <h5>