This is an automated email from the ASF dual-hosted git repository.

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit db980bc73ad64ad67cc27ff40df59b930a424333
Author: Greg Stein <[email protected]>
AuthorDate: Mon Sep 29 14:01:39 2025 -0500

    Display sign-in status on home page cards.
---
 v3/server/templates/home.ezt | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/v3/server/templates/home.ezt b/v3/server/templates/home.ezt
index dd0bdf0..d86d195 100644
--- a/v3/server/templates/home.ezt
+++ b/v3/server/templates/home.ezt
@@ -15,7 +15,11 @@
                             </p>
                         </div>
                         <div class="card-footer text-muted">
-                            <small>Requires sign-in</small>
+                            [if-any uid]
+                                <small>Signed in as [name] ([uid])</small>
+                            [else]
+                                <small>Requires sign-in</small>
+                            [end]
                         </div>
                     </div>
                 </a>
@@ -32,7 +36,11 @@
                             </p>
                         </div>
                         <div class="card-footer text-muted">
-                            <small>Requires sign-in</small>
+                            [if-any uid]
+                                <small>Signed in as [name] ([uid])</small>
+                            [else]
+                                <small>Requires sign-in</small>
+                            [end]
                         </div>
                     </div>
                 </a>

Reply via email to