| | |
| | | }
|
| | | }
|
| | |
|
| | | // show sparkleshare folder icon
|
| | | if (model.isSparkleshared()) {
|
| | | add(WicketUtils.newImage("repositoryIcon", "folder_star_32x32.png",
|
| | | getString("gb.isSparkleshared")));
|
| | | } else {
|
| | | add(WicketUtils.newClearPixel("repositoryIcon").setVisible(false));
|
| | | }
|
| | | |
| | | if (getRepositoryModel().isBare) {
|
| | | add(new Label("workingCopyIndicator").setVisible(false));
|
| | | } else {
|
| | |
| | | RepositoryModel model = GitBlit.self().getRepositoryModel(
|
| | | GitBlitWebSession.get().getUser(), repositoryName);
|
| | | if (model == null) {
|
| | | if (GitBlit.self().hasRepository(repositoryName)) {
|
| | | if (GitBlit.self().hasRepository(repositoryName, true)) {
|
| | | // has repository, but unauthorized
|
| | | authenticationError(getString("gb.unauthorizedAccessForRepository") + " " + repositoryName);
|
| | | } else {
|