summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/panels/PageLinksPanel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/gitblit/wicket/panels/PageLinksPanel.java')
-rw-r--r--src/com/gitblit/wicket/panels/PageLinksPanel.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/gitblit/wicket/panels/PageLinksPanel.java b/src/com/gitblit/wicket/panels/PageLinksPanel.java
index 7447e760..02491bca 100644
--- a/src/com/gitblit/wicket/panels/PageLinksPanel.java
+++ b/src/com/gitblit/wicket/panels/PageLinksPanel.java
@@ -8,6 +8,7 @@ import com.gitblit.wicket.LinkPanel;
import com.gitblit.wicket.pages.CommitPage;
import com.gitblit.wicket.pages.ShortLogPage;
import com.gitblit.wicket.pages.SummaryPage;
+import com.gitblit.wicket.pages.TagsPage;
import com.gitblit.wicket.pages.TreePage;
@@ -30,6 +31,13 @@ public class PageLinksPanel extends Panel {
} else {
add(new LinkPanel("shortlog", null, "shortlog", ShortLogPage.class, new PageParameters("p=" + repositoryName)));
}
+
+ // tags
+ if (pageName.equals("tags")) {
+ add(new Label("tags", pageName));
+ } else {
+ add(new LinkPanel("tags", null, "tags", TagsPage.class, new PageParameters("p=" + repositoryName)));
+ }
// commit
if (pageName.equals("commit")) {