mount("/user", UserPage.class, "user");\r
mount("/forks", ForksPage.class, "r");\r
mount("/fork", ForkPage.class, "r");\r
+ \r
+ getMarkupSettings().setDefaultMarkupEncoding("UTF-8");\r
}\r
\r
private void mount(String location, Class<? extends WebPage> clazz, String... parameters) {\r
// quick links
if (entry.isSubmodule()) {
+ item.add(new ExternalLink("raw", "").setEnabled(false));
// submodule
item.add(new ExternalLink("patch", "").setEnabled(false));
item.add(new BookmarkablePageLink<Void>("view", CommitPage.class, WicketUtils
.newPathParameter(repositoryName, entry.commitId, path)));\r
}\r
\r
+ \r
// quick links\r
if (entry.isSubmodule()) {\r
+ item.add(new ExternalLink("raw", "").setEnabled(false));\r
+ \r
// submodule\r
item.add(new BookmarkablePageLink<Void>("diff", BlobDiffPage.class, WicketUtils\r
.newPathParameter(repositoryName, entry.commitId, entry.path))\r