<wicket:message key="gb.users">[users]</wicket:message>\r
</th>\r
<th class="hidden-phone hidden-tablet left"><wicket:message key="gb.displayName">[display name]</wicket:message></th>\r
+ <th class="hidden-phone hidden-tablet left"><wicket:message key="gb.emailAddress">[email address]</wicket:message></th>\r
<th class="hidden-phone" style="width:120px;"><wicket:message key="gb.accessLevel">[access level]</wicket:message></th>\r
<th class="hidden-phone" style="width:140px;"><wicket:message key="gb.teamMemberships">[team memberships]</wicket:message></th>\r
<th class="hidden-phone" style="width:100px;"><wicket:message key="gb.repositories">[repositories]</wicket:message></th>\r
<tr wicket:id="userRow">\r
<td class="left" ><span class="list" wicket:id="username">[username]</span></td>\r
<td class="hidden-phone hidden-tablet left" ><span class="list" wicket:id="displayName">[display name]</span></td>\r
+ <td class="hidden-phone hidden-tablet left" ><span class="list" wicket:id="emailAddress">[email address]</span></td>\r
<td class="hidden-phone left" ><span class="list" wicket:id="accesslevel">[access level]</span></td>\r
<td class="hidden-phone left" ><span class="list" wicket:id="teams">[team memberships]</span></td>\r
<td class="hidden-phone left" ><span class="list" wicket:id="repositories">[repositories]</span></td>\r
WicketUtils.setHtmlTooltip(editLink, getString("gb.edit") + " " + entry.getDisplayName());\r
item.add(editLink);\r
}\r
- \r
+\r
+ if (StringUtils.isEmpty(entry.emailAddress)) {\r
+ item.add(new Label("emailAddress").setVisible(false));\r
+ } else {\r
+ editLink = new LinkPanel("emailAddress", "list", entry.emailAddress,\r
+ EditUserPage.class, WicketUtils.newUsernameParameter(entry.username));\r
+ WicketUtils.setHtmlTooltip(editLink, getString("gb.edit") + " " + entry.getDisplayName());\r
+ item.add(editLink);\r
+ }\r
+\r
item.add(new Label("accesslevel", entry.canAdmin ? "administrator" : ""));\r
item.add(new Label("teams", entry.teams.size() > 0 ? ("" + entry.teams.size()) : ""));\r
item.add(new Label("repositories",\r