From: James Moger Date: Tue, 27 Nov 2012 23:00:56 +0000 (-0500) Subject: Eliminated redundant "view" links (issue 168) X-Git-Tag: v1.2.0~68 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5ad03d053fc3154b09c551530a790b921bc462e5;p=gitblit.git Eliminated redundant "view" links (issue 168) --- diff --git a/src/com/gitblit/wicket/panels/HistoryPanel.html b/src/com/gitblit/wicket/panels/HistoryPanel.html index 2fe6f050..3da731ff 100644 --- a/src/com/gitblit/wicket/panels/HistoryPanel.html +++ b/src/com/gitblit/wicket/panels/HistoryPanel.html @@ -19,8 +19,8 @@ [commit date] [commit author] - [commit hash]
[commit short message]
[commit refs]
+ [commit hash] [history links] @@ -32,14 +32,14 @@ - | + - | | + | diff --git a/src/com/gitblit/wicket/panels/HistoryPanel.java b/src/com/gitblit/wicket/panels/HistoryPanel.java index 838f103e..2ad09438 100644 --- a/src/com/gitblit/wicket/panels/HistoryPanel.java +++ b/src/com/gitblit/wicket/panels/HistoryPanel.java @@ -180,8 +180,6 @@ public class HistoryPanel extends BasePanel { item.add(links); } else { Fragment links = new Fragment("historyLinks", "blobLinks", this); - links.add(new BookmarkablePageLink("view", BlobPage.class, WicketUtils - .newPathParameter(repositoryName, entry.getName(), path))); links.add(new BookmarkablePageLink("commitdiff", CommitDiffPage.class, WicketUtils.newObjectParameter(repositoryName, entry.getName()))); links.add(new BookmarkablePageLink("difftocurrent", BlobDiffPage.class, diff --git a/src/com/gitblit/wicket/panels/LogPanel.html b/src/com/gitblit/wicket/panels/LogPanel.html index f6c2327e..3c3da745 100644 --- a/src/com/gitblit/wicket/panels/LogPanel.html +++ b/src/com/gitblit/wicket/panels/LogPanel.html @@ -14,12 +14,12 @@ [commit date] [commit author] - [commit hash]
[commit short message]
[commit refs]
+ [commit hash] - | | + | diff --git a/src/com/gitblit/wicket/panels/LogPanel.java b/src/com/gitblit/wicket/panels/LogPanel.java index 6d06e7b8..0a56b315 100644 --- a/src/com/gitblit/wicket/panels/LogPanel.java +++ b/src/com/gitblit/wicket/panels/LogPanel.java @@ -135,8 +135,6 @@ public class LogPanel extends BasePanel { item.add(new RefsPanel("commitRefs", repositoryName, entry, allRefs)); - item.add(new BookmarkablePageLink("view", CommitPage.class, WicketUtils - .newObjectParameter(repositoryName, entry.getName()))); item.add(new BookmarkablePageLink("diff", CommitDiffPage.class, WicketUtils .newObjectParameter(repositoryName, entry.getName())).setEnabled(entry .getParentCount() > 0));