]> source.dussan.org Git - gitblit.git/commitdiff
Eliminate unnecessary view links in activity page
authorJames Moger <james.moger@gitblit.com>
Thu, 6 Dec 2012 22:05:50 +0000 (17:05 -0500)
committerJames Moger <james.moger@gitblit.com>
Thu, 6 Dec 2012 22:05:50 +0000 (17:05 -0500)
src/com/gitblit/wicket/panels/ActivityPanel.html
src/com/gitblit/wicket/panels/ActivityPanel.java

index f4d14093f6df6ba440553d93e316fbe599185c26..b818e94ab8d6726f59fd74029b7d27cbeb1e7b5c 100644 (file)
@@ -26,7 +26,7 @@
                                </td>\r
                                <td class="hidden-phone rightAlign" style="width:7em;vertical-align: middle;">\r
                                <span class="link">\r
-                                               <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>\r
+                                               <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>\r
                                        </span>\r
                                </td>           \r
                        </tr>           \r
index 9a123d8e0c75283cf24556cbf46da05b1bfc215b..6caee3e774d644559075428457902acc0b490103 100644 (file)
@@ -132,9 +132,7 @@ public class ActivityPanel extends BasePanel {
                                                commitItem.add(new RefsPanel("commitRefs", commit.repository, commit\r
                                                                .getRefs()));\r
 \r
-                                               // view, diff, tree links\r
-                                               commitItem.add(new BookmarkablePageLink<Void>("view", CommitPage.class,\r
-                                                               WicketUtils.newObjectParameter(commit.repository, commit.getName())));\r
+                                               // diff, tree links\r
                                                commitItem.add(new BookmarkablePageLink<Void>("diff", CommitDiffPage.class,\r
                                                                WicketUtils.newObjectParameter(commit.repository, commit.getName()))\r
                                                                .setEnabled(commit.getParentCount() > 0));\r