Bug 25155: (follow-up) Increase headings levels by 1
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 Jun 2020 09:14:03 +0000 (10:14 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 20 Jul 2020 15:45:31 +0000 (17:45 +0200)
In the previous patch we reduced the headings levels by 2, but this was
one level too many as we already have an H1 in the navbar and so all
other heading sets should start at level 2 to semantically follow the
title heading.

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt

index 30ec2bd..7f56900 100644 (file)
@@ -29,7 +29,7 @@
                         [% IF ( nopermission ) %]
                             <!-- This is what is displayed if user doesn't have permission -->
                             <div class="alert">
-                                <h1>Access denied</h1>
+                                <h2>Access denied</h2>
                                 <p>Sorry, the system doesn't think you have permission to access this page. </p>
                                 [% IF SCO_login %]
                                     <p><a href="/cgi-bin/koha/sco/sco-main.pl?logout.x=1">Log out and try again with a different user.</a></p>
@@ -41,7 +41,7 @@
 
                         [% IF ( loginprompt ) %]
                             <!-- login prompt time-->
-                            <h1>Log in to your account</h1>
+                            <h2>Log in to your account</h2>
 
                             [% IF ( timed_out ) %]
                                 <!-- This is what is displayed if login has timed out -->
                                     [% END %]
                                     </div>
                             [% ELSE %]
-                                <h2>Shibboleth Login</h2>
+                                <h3>Shibboleth Login</h3>
                                 <p><a href="[% shibbolethLoginUrl | $raw %]">If you have a Shibboleth account, please click here to log in.</a></p>
                             [% END %]
                             [% IF ( casAuthentication ) %]
-                                <h2>CAS login</h2>
+                                <h3>CAS login</h3>
                                 <p>If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.</p>
                             [% ELSE %]
-                                <h2>Local login</h2>
+                                <h3>Local login</h3>
                                 <p>If you do not have a Shibboleth account, but you do have a local login, then you may login below.</p>
                             [% END %]
 
                                     </ul>
                                 [% END %]
                             [% ELSE %]
-                                <h2>CAS login</h2>
+                                <h3>CAS login</h3>
 
                                 [% IF ( invalidCasLogin ) %]
                                     <!-- This is what is displayed if cas login has failed -->
                             [% IF ( shibbolethAuthentication ) %]
                                 <p>Nothing</p>
                             [% ELSE %]
-                                <h2>Local login</h2>
+                                <h3>Local login</h3>
                                 <p>If you do not have a CAS account, but do have a local account, you can still log in: </p>
                             [% END %]
 
 
                         [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %]
                             [% IF ( invalidGoogleOpenIDConnectLogin ) %]
-                                <h2>Google login</h2>
+                                <h3>Google login</h3>
                                 <p>Sorry, your Google login failed. <span class="error">[% invalidGoogleOpenIDConnectLogin | html %]</span></p>
                                 <p>Please note that the Google login will only work if you are using the e-mail address registered with this library.</p>
                                 <p>If you want to, you can try to <a href="/cgi-bin/koha/svc/auth/googleopenidconnect?reauthenticate=select_account">log in using a different account</a>
                             [% IF Koha.Preference('OpacLoginInstructions') %]
                                 [% Koha.Preference('OpacLoginInstructions') | $raw %]
                             [% ELSE %]
-                                <h2>Don't have a password yet?</h2>
+                                <h3>Don't have a password yet?</h3>
                                 <p>If you don't have a password yet, stop by the circulation desk the next time you're in the library. We'll happily set one up for you.</p>
-                                <h2>Don't have a library card?</h2>
+                                <h3>Don't have a library card?</h3>
                                 <p>If you don't have a library card, stop by your local library to sign up.</p>
                             [% END # / IF Koha.Preference('OpacLoginInstructions') %]
 
                         [% END # / IF loginprompt %]
 
                     [% ELSE %]
-                        <h1>Logging on to the catalog has not been enabled by the library.</h1>
+                        <h2>Logging on to the catalog has not been enabled by the library.</h2>
                         <ul>
                             <li>To report this error, you can email the Koha Administrator.<a href="mailto:[% admin | uri %]">Email</a></li>
                             <li>Use top menu bar to navigate to another part of Koha.</li>