James Moger
2012-03-16 86bea9e0016b2890db8ba83049dd4e89653a0a5e
src/com/gitblit/wicket/panels/RepositoriesPanel.java
@@ -148,10 +148,16 @@
            if (!StringUtils.isEmpty(currGroupName) && (repoName.indexOf('/') > -1)) {
               repoName = repoName.substring(currGroupName.length() + 1);
            }
            // repository swatch
            Component swatch = new Label("repositorySwatch", " ").setEscapeModelStrings(false);
            WicketUtils.setCssBackground(swatch, entry.name);
            Component swatch;
            if (entry.isBare){
               swatch = new Label("repositorySwatch", " ").setEscapeModelStrings(false);
            } else {
               swatch = new Label("repositorySwatch", "!");
               WicketUtils.setHtmlTooltip(swatch, getString("gb.workingCopyWarning"));
            }
            WicketUtils.setCssBackground(swatch, entry.toString());
            row.add(swatch);
            swatch.setVisible(showSwatch);