From f8337b5438043bc3065455d7e3c93f1c3cce93b0 Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 6 Dec 2012 17:05:50 -0500 Subject: [PATCH] Eliminate unnecessary view links in activity page --- src/com/gitblit/wicket/panels/ActivityPanel.html | 2 +- src/com/gitblit/wicket/panels/ActivityPanel.java | 4 +--- 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 @@ - | | + | 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("view", CommitPage.class, - WicketUtils.newObjectParameter(commit.repository, commit.getName()))); + // diff, tree links commitItem.add(new BookmarkablePageLink("diff", CommitDiffPage.class, WicketUtils.newObjectParameter(commit.repository, commit.getName())) .setEnabled(commit.getParentCount() > 0)); -- 2.39.5