Skip to content

Commit

Permalink
Merge pull request #15 from christ66/JENKINS-23278
Browse files Browse the repository at this point in the history
[JENKINS-23278] Fix html title tag to properly display action title.
  • Loading branch information
ndeloof committed Jan 9, 2015
2 parents 0531397 + 51c3bf7 commit 53cebdc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Expand Up @@ -75,6 +75,10 @@ public String getUrlName() {
return "support";
}

public String getActionTitleText() {
return getActionTitle().toString();
}

public Localizable getActionTitle() {
SupportPlugin supportPlugin = SupportPlugin.getInstance();
if (supportPlugin != null) {
Expand Down
Expand Up @@ -24,7 +24,7 @@
<?jelly escape-by-default='true'?>
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:l="/lib/layout"
xmlns:f="/lib/form">
<l:layout title="${it.actionTitle}" norefresh="true" permission="${it.CREATE_BUNDLE}">
<l:layout title="${it.actionTitleText}" norefresh="true" permission="${it.CREATE_BUNDLE}">
<st:include page="sidepanel.jelly" it="${app}"/>
<l:main-panel>
<h1>
Expand Down

0 comments on commit 53cebdc

Please sign in to comment.