| | |
| | | for (String root : roots) {
|
| | | List<RepositoryModel> subModels = groups.get(root);
|
| | | ProjectModel project = GitBlit.self().getProjectModel(root);
|
| | | GroupRepositoryModel group = new GroupRepositoryModel(project.name, subModels.size());
|
| | | GroupRepositoryModel group = new GroupRepositoryModel(project == null ? root : project.name, subModels.size());
|
| | | if (project != null) {
|
| | | group.title = project.title;
|
| | | group.description = project.description;
|
| | |
| | | Label lastChangeLabel = new Label("repositoryLastChange", lastChange);
|
| | | row.add(lastChangeLabel);
|
| | | WicketUtils.setCssClass(lastChangeLabel, getTimeUtils().timeAgoCss(entry.lastChange));
|
| | | if (!StringUtils.isEmpty(entry.lastChangeAuthor)) {
|
| | | WicketUtils.setHtmlTooltip(lastChangeLabel, getString("gb.author") + ": " + entry.lastChangeAuthor);
|
| | | }
|
| | |
|
| | | boolean showOwner = user != null && entry.isOwner(user.username);
|
| | | boolean myPersonalRepository = showOwner && entry.isUsersPersonalRepository(user.username);
|