James Moger
2013-05-15 6c5885f4fbc78d7019006ba16e91aea222b5aa74
Merged pull request #88 - improve page title
2 files modified
6 ■■■■■ changed files
releases.moxie 2 ●●●●● patch | view | raw | blame | history
src/main/java/com/gitblit/wicket/pages/BasePage.java 4 ●●●● patch | view | raw | blame | history
releases.moxie
@@ -33,6 +33,7 @@
     - Improve Gerrit change ref decoration in the refs panel (issue 206)
      - Disable Gson's pretty printing which has a huge performance gain
     - Properly set application/json content-type on api calls
     - Improved page title
     - Updated Polish translation
     - Updated Japanese translation
     
@@ -54,6 +55,7 @@
    contributors:
    - Bandarupalli Satyanarayana
    - Chad H.
    - Christian Aistleitner
    - David Ostrovsky
    - Egbert Teeselink
src/main/java/com/gitblit/wicket/pages/BasePage.java
@@ -128,9 +128,9 @@
    protected void setupPage(String repositoryName, String pageName) {
        if (repositoryName != null && repositoryName.trim().length() > 0) {
            add(new Label("title", getServerName() + " - " + repositoryName));
            add(new Label("title", repositoryName + " - " + Keys.web.siteName));
        } else {
            add(new Label("title", getServerName()));
            add(new Label("title", Keys.web.siteName));
        }
        ExternalLink rootLink = new ExternalLink("rootLink", urlFor(RepositoriesPage.class, null).toString());