From ff974e0018902550aff538b6abc634252557a77f Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 04 Apr 2011 17:32:42 -0400
Subject: [PATCH] Make ChartAxis serializable.
---
src/com/gitblit/wicket/panels/TreeLinksPanel.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/com/gitblit/wicket/panels/TreeLinksPanel.java b/src/com/gitblit/wicket/panels/TreeLinksPanel.java
index 21da66c..ce918b9 100644
--- a/src/com/gitblit/wicket/panels/TreeLinksPanel.java
+++ b/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"));
}
}
}
\ No newline at end of file
--
Gitblit v1.9.1