From b7f591781f4bd2e3c94596a2b1f2cf73cdc0d7cd Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 13 Oct 2011 17:01:51 -0400 Subject: [PATCH] Localized RPC client using server's resource file. --- src/com/gitblit/wicket/pages/SummaryPage.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/gitblit/wicket/pages/SummaryPage.java b/src/com/gitblit/wicket/pages/SummaryPage.java index e753e5d..9fd90c5 100644 --- a/src/com/gitblit/wicket/pages/SummaryPage.java +++ b/src/com/gitblit/wicket/pages/SummaryPage.java @@ -78,8 +78,8 @@ add(new Label("repositoryDescription", getRepositoryModel().description)); add(new Label("repositoryOwner", getRepositoryModel().owner)); - add(WicketUtils.createTimestampLabel("repositoryLastChange", JGitUtils.getLastChange(r, null), - getTimeZone())); + add(WicketUtils.createTimestampLabel("repositoryLastChange", + JGitUtils.getLastChange(r, null), getTimeZone())); if (metricsTotal == null) { add(new Label("branchStats", "")); } else { @@ -114,7 +114,7 @@ add(WicketUtils.newClearPixel("accessRestrictionIcon").setVisible(false)); } StringBuilder sb = new StringBuilder(); - sb.append(WicketUtils.getHostURL(getRequestCycle().getRequest())); + sb.append(WicketUtils.getGitblitURL(getRequestCycle().getRequest())); sb.append(Constants.GIT_PATH); sb.append(repositoryName); repositoryUrls.add(sb.toString()); -- Gitblit v1.9.1