From 4cec4b102164390540e904685db244ae63f83254 Mon Sep 17 00:00:00 2001 From: kxyfyh Date: Mon, 18 Nov 2013 21:41:04 +0800 Subject: 修改中文显示问题及raw默认属性 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java') diff --git a/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java b/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java index 0856547f..468fb667 100644 --- a/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java +++ b/src/main/java/com/gitblit/wicket/pages/CommitDiffPage.java @@ -153,6 +153,7 @@ public class CommitDiffPage extends RepositoryPage { // quick links if (entry.isSubmodule()) { + item.add(new ExternalLink("raw", "").setEnabled(false)); // submodule item.add(new ExternalLink("patch", "").setEnabled(false)); item.add(new BookmarkablePageLink("view", CommitPage.class, WicketUtils -- cgit v1.2.3