Просмотр исходного кода

Merge pull request #449 from pwm-project/title-fix

Fixed a problem where the page title area was getting too scrunched.
James Albright 6 лет назад
Родитель
Сommit
4fddf64573

+ 1 - 0
server/src/main/resources/password/pwm/i18n/Display.properties

@@ -297,6 +297,7 @@ Title_AnsweredQuestions=Answered Questions
 Title_ActivateUser=Activate Account
 Title_Admin=Administration
 Title_Application=Self Service Password Reset
+Title_Application_Abbrev=SSPR
 Title_Captcha=Verification
 Title_ChangePassword=Change Password
 Title_ConfirmResponses=Confirm Security Questions

+ 4 - 1
webapp/src/main/webapp/WEB-INF/jsp/fragment/header-body.jsp

@@ -41,7 +41,10 @@
     <div id="header-center">
         <div id="header-center-left">
             <div id="header-page"><pwm:display key="${param['pwm.PageName']}" displayIfMissing="true"/></div>
-            <div id="header-title"><pwm:display key="Title_Application"/></div>
+            <div id="header-title">
+                <span class="title-long"><pwm:display key="Title_Application"/></span>
+                <span class="title-short"><pwm:display key="Title_Application_Abbrev"/></span>
+            </div>
         </div>
 
         <div id="header-center-right">