From: James Moger Date: Thu, 6 Dec 2012 22:05:50 +0000 (-0500) Subject: Eliminate unnecessary view links in activity page X-Git-Tag: v1.2.0~14 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f8337b5438043bc3065455d7e3c93f1c3cce93b0;p=gitblit.git Eliminate unnecessary view links in activity page --- 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));