summaryrefslogtreecommitdiffstats
path: root/src/main/java/com/gitblit/wicket/pages/CommitPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/CommitPage.java')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/CommitPage.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/CommitPage.java b/src/main/java/com/gitblit/wicket/pages/CommitPage.java
index 8dacdc5a..1772f3af 100644
--- a/src/main/java/com/gitblit/wicket/pages/CommitPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/CommitPage.java
@@ -199,8 +199,11 @@ public class CommitPage extends RepositoryPage {
.newPathParameter(repositoryName, entry.commitId, path)));
}
+
// quick links
if (entry.isSubmodule()) {
+ item.add(new ExternalLink("raw", "").setEnabled(false));
+
// submodule
item.add(new BookmarkablePageLink<Void>("diff", BlobDiffPage.class, WicketUtils
.newPathParameter(repositoryName, entry.commitId, entry.path))