diff --git a/src/main/java/org/olat/admin/user/UserShortDescription.java b/src/main/java/org/olat/admin/user/UserShortDescription.java index 761eca26a6d88b92e5987046340412bdfda88745..a7f07d4e91a22111e632057860df7fc512d7801a 100644 --- a/src/main/java/org/olat/admin/user/UserShortDescription.java +++ b/src/main/java/org/olat/admin/user/UserShortDescription.java @@ -70,6 +70,7 @@ public class UserShortDescription extends BasicController { userPropertyHandlers = UserManager.getInstance().getUserPropertyHandlersFor(usageIdentifyer, isAdministrativeUser); velocityContainer.contextPut("userPropertyHandlers", userPropertyHandlers); velocityContainer.contextPut("user", identity.getUser()); + velocityContainer.contextPut("identityKey", identity.getKey()); if(getIdentity().equals(identity) || isAdministrativeUser) { velocityContainer.contextPut("username", identity.getName()); diff --git a/src/main/java/org/olat/admin/user/_content/userShortDescription.html b/src/main/java/org/olat/admin/user/_content/userShortDescription.html index cf9c4fca84ed73b095ee6b94aa888b1abfd23309..6f0a4014ef043c939b7c3b210d1a9d60ae486649 100644 --- a/src/main/java/org/olat/admin/user/_content/userShortDescription.html +++ b/src/main/java/org/olat/admin/user/_content/userShortDescription.html @@ -1,9 +1,13 @@ -<table class="table table-bordered"> +<table class="table table-bordered table-condensed table-striped"> #if($username) <tr> <th>$usernameLabel</th> <td>$username</td> </tr> + <tr> + <th>Identity</th> + <td>$identityKey</td> + </tr> #end #foreach( $propertyHandler in $userPropertyHandlers ) #if ($propertyHandler.getUserPropertyAsHTML($user, $locale) && $propertyHandler.getUserPropertyAsHTML($user, $locale) != "") @@ -13,4 +17,4 @@ </tr> #end #end -</table> \ No newline at end of file +</table>