Show mirror indicator on repository url panel
Change-Id: I5eb66500cc1ed47f97d4935d42ea4c3ca4cdba14
| | |
| | | }
|
| | |
|
| | | // access restriction icon and tooltip
|
| | | if (app().runtime().isServingRepositories()) {
|
| | | if (repository.isMirror) {
|
| | | urlPanel.add(WicketUtils.newImage("accessRestrictionIcon", "mirror_16x16.png",
|
| | | getString("gb.isMirror")));
|
| | | } else if (app().runtime().isServingRepositories()) {
|
| | | switch (repository.accessRestriction) {
|
| | | case NONE:
|
| | | urlPanel.add(WicketUtils.newClearPixel("accessRestrictionIcon").setVisible(false));
|