From 1f5fe41383072a18e4eaac05b035c87250a6576e Mon Sep 17 00:00:00 2001 From: Olivier Dagenais Date: Tue, 22 Oct 2013 14:52:51 -0400 Subject: [PATCH] Enhance the current user link in the header. 1 - Link to user's ID, which is properly escaped. 2 - Display user's full name if possible, otherwise their ID. --- core/src/main/resources/lib/layout/layout.jelly | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/core/src/main/resources/lib/layout/layout.jelly b/core/src/main/resources/lib/layout/layout.jelly index 49c91300a8..804479d4cf 100644 --- a/core/src/main/resources/lib/layout/layout.jelly +++ b/core/src/main/resources/lib/layout/layout.jelly @@ -173,8 +173,17 @@ ${h.initPageVariables(context)} + + + + + + + + + - ${app.authentication.name} + ${userName} | ${%logout} -- GitLab