Skip to content
Snippets Groups Projects
Commit e7544875 authored by gnaegi's avatar gnaegi
Browse files

OO-1514 add identity key to user management

parent 7625fac5
No related branches found
No related tags found
No related merge requests found
......@@ -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());
......
<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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment