James Moger
2011-04-04 fc84260e4238fda10842c1bd3b9fb0cb74b95426
src/com/gitblit/wicket/panels/TreeLinksPanel.java
@@ -19,11 +19,11 @@
      if (path.isTree()) {
         add(new LinkPanel("link", null, "tree", TreePage.class, new PageParameters("p=" + repositoryName + ",h=" + path.commitId + ",f=" + path.path)));
         add(new Label("history", "history"));
         add(new Label("raw", "").setVisible(false));
         add(new Label("raw", ""));
      } else {
         add(new LinkPanel("link", null, "blob", BlobPage.class, new PageParameters("p=" + repositoryName + ",h=" + path.commitId + ",f=" + path.path)));
         add(new LinkPanel("link", null, "view", BlobPage.class, new PageParameters("p=" + repositoryName + ",h=" + path.commitId + ",f=" + path.path)));
         add(new Label("history", "history"));
         add(new Label("raw", "raw"));
         add(new Label("raw", "download"));
      }
   }
}