summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-12-06 17:05:50 -0500
committerJames Moger <james.moger@gitblit.com>2012-12-06 17:05:50 -0500
commitf8337b5438043bc3065455d7e3c93f1c3cce93b0 (patch)
treecbad57d517e47984069abda0071a29308094f6e9
parent92d477ebb639fde958a928f0ed046c62280a5c60 (diff)
downloadgitblit-f8337b5438043bc3065455d7e3c93f1c3cce93b0.tar.gz
gitblit-f8337b5438043bc3065455d7e3c93f1c3cce93b0.zip
Eliminate unnecessary view links in activity page
-rw-r--r--src/com/gitblit/wicket/panels/ActivityPanel.html2
-rw-r--r--src/com/gitblit/wicket/panels/ActivityPanel.java4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/com/gitblit/wicket/panels/ActivityPanel.html b/src/com/gitblit/wicket/panels/ActivityPanel.html
index f4d14093..b818e94a 100644
--- a/src/com/gitblit/wicket/panels/ActivityPanel.html
+++ b/src/com/gitblit/wicket/panels/ActivityPanel.html
@@ -26,7 +26,7 @@
</td>
<td class="hidden-phone rightAlign" style="width:7em;vertical-align: middle;">
<span class="link">
- <a wicket:id="view" target="_blank"><wicket:message key="gb.view"></wicket:message></a> | <a wicket:id="diff" target="_blank"><wicket:message key="gb.diff"></wicket:message></a> | <a wicket:id="tree" target="_blank"><wicket:message key="gb.tree"></wicket:message></a>
+ <a wicket:id="diff" target="_blank"><wicket:message key="gb.diff"></wicket:message></a> | <a wicket:id="tree" target="_blank"><wicket:message key="gb.tree"></wicket:message></a>
</span>
</td>
</tr>
diff --git a/src/com/gitblit/wicket/panels/ActivityPanel.java b/src/com/gitblit/wicket/panels/ActivityPanel.java
index 9a123d8e..6caee3e7 100644
--- a/src/com/gitblit/wicket/panels/ActivityPanel.java
+++ b/src/com/gitblit/wicket/panels/ActivityPanel.java
@@ -132,9 +132,7 @@ public class ActivityPanel extends BasePanel {
commitItem.add(new RefsPanel("commitRefs", commit.repository, commit
.getRefs()));
- // view, diff, tree links
- commitItem.add(new BookmarkablePageLink<Void>("view", CommitPage.class,
- WicketUtils.newObjectParameter(commit.repository, commit.getName())));
+ // diff, tree links
commitItem.add(new BookmarkablePageLink<Void>("diff", CommitDiffPage.class,
WicketUtils.newObjectParameter(commit.repository, commit.getName()))
.setEnabled(commit.getParentCount() > 0));