gb.noActivity = there has been no recent commit activity
gb.findSomeRepositories = find some repositories
gb.metricAuthorExclusions = author metric exclusions
-gb.myDashboard = my dashboard
\ No newline at end of file
+gb.myDashboard = my dashboard
+gb.failedToFindAccount = failed to find user account ''{0}''
\ No newline at end of file
private static final long serialVersionUID = 1L;\r
int counter = 0;\r
public void populateItem(final Item<String> item) {\r
- UserModel ownerModel = GitBlit.self().getUserModel(item.getModelObject());\r
+ String ownername = item.getModelObject();\r
+ UserModel ownerModel = GitBlit.self().getUserModel(ownername);\r
if (ownerModel != null) {\r
item.add(new LinkPanel("owner", null, ownerModel.getDisplayName(), UserPage.class,\r
WicketUtils.newUsernameParameter(ownerModel.username)).setRenderBodyOnly(true));\r
} else {\r
- item.add(new Label("owner").setVisible(false));\r
+ Label owner = new Label("owner", ownername);\r
+ WicketUtils.setCssStyle(owner, "text-decoration: line-through;");\r
+ WicketUtils.setHtmlTooltip(owner, MessageFormat.format(getString("gb.failedToFindAccount"), ownername));\r
+ item.add(owner);\r
}\r
counter++;\r
item.add(new Label("comma", ",").setVisible(counter < owners.size()));\r
private static final long serialVersionUID = 1L;\r
int counter = 0;\r
public void populateItem(final Item<String> item) {\r
- UserModel ownerModel = GitBlit.self().getUserModel(item.getModelObject());\r
+ String ownername = item.getModelObject();\r
+ UserModel ownerModel = GitBlit.self().getUserModel(ownername);\r
if (ownerModel != null) {\r
item.add(new LinkPanel("owner", null, ownerModel.getDisplayName(), UserPage.class,\r
WicketUtils.newUsernameParameter(ownerModel.username)).setRenderBodyOnly(true));\r
} else {\r
- item.add(new Label("owner").setVisible(false));\r
+ Label owner = new Label("owner", ownername);\r
+ WicketUtils.setCssStyle(owner, "text-decoration: line-through;");\r
+ WicketUtils.setHtmlTooltip(owner, MessageFormat.format(getString("gb.failedToFindAccount"), ownername));\r
+ item.add(owner);\r
}\r
counter++;\r
item.add(new Label("comma", ",").setVisible(counter < owners.size()));\r