From e5811fd3989ac8ebf9db1409fc128acd448d5169 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Thu, 25 Mar 2021 23:49:20 +0000 Subject: [PATCH] Bug 27740: Corrected tags & hierarchy of headings Bug 27610 corrected the

tags in each of the OPAC files. This patch corrects the hierarchy of the rest of the headings on each of the pages. To test: 1) Go to the OPAC 2) Apply Bug 27610 patch 3) Apply patch (Bug 27740) 4) Go to each of the pages and check that the headings under

are in the correct order and hierarchy Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../bootstrap/en/modules/errors/errorpage.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/ilsdi.tt | 72 +++++++++---------- .../en/modules/opac-alert-subscribe.tt | 4 +- .../bootstrap/en/modules/opac-auth.tt | 20 +++--- .../bootstrap/en/modules/opac-detail.tt | 36 +++++----- .../bootstrap/en/modules/opac-library.tt | 4 +- .../opac-memberentry-update-submitted.tt | 2 +- .../bootstrap/en/modules/opac-messaging.tt | 4 +- .../bootstrap/en/modules/opac-passwd.tt | 2 +- .../en/modules/opac-password-recovery.tt | 2 +- .../en/modules/opac-patron-consent.tt | 2 +- .../en/modules/opac-recordedbooks-search.tt | 2 +- .../bootstrap/en/modules/opac-results.tt | 2 +- .../en/modules/opac-serial-issues.tt | 10 +-- .../bootstrap/en/modules/opac-suggestions.tt | 4 +- .../bootstrap/en/modules/opac-user.tt | 10 +-- .../bootstrap/en/modules/sci/sci-main.tt | 8 +-- .../bootstrap/en/modules/sco/sco-main.tt | 12 ++-- 18 files changed, 99 insertions(+), 99 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt index 1553df0261..c73f858d2d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/errors/errorpage.tt @@ -33,7 +33,7 @@

Sorry, the requested page is not available

Error [% errno | html %]

-

This message can have the following reason(s):

+

This message can have the following reason(s):

    [% IF ( errno == 400 ) %]
  • The link is broken and the page does not exist.
  • diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt index 50db000cb8..2e6a6538c4 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt @@ -100,7 +100,7 @@

    Given a set of bibliographic or item identifiers, returns a list with availability of the items associated with the identifiers.

    -

    Parameters

    +

    Parameters

    id (Required)
    list of either bibliographic or item identifiers
    @@ -122,12 +122,12 @@
    requests a particular format or set of formats in reporting availability
    -

    Example call

    +

    Example call

    ilsdi.pl?service=GetAvailability&id=1+2+99999&id_type=item -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <dlf:collection
       xmlns:dlf="http://diglib.org/ilsdi/1.1"
    @@ -185,7 +185,7 @@
                                     time lookup by bibliographic identifier.

    You can use OAI-PMH ListRecords instead of this service.

    -

    Parameters

    +

    Parameters

    id (Required)
    list of system record identifiers
    @@ -198,12 +198,12 @@
    -

    Example Call

    +

    Example Call

    ilsdi.pl?service=GetRecords&id=1+2+99999 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <GetRecords>
       <record>
    @@ -400,7 +400,7 @@
                                     of record objects that contain the authority records. The function
                                     user may request a specific metadata schema for the record objects.

    -

    Parameters

    +

    Parameters

    id (Required)
    list of authority record identifiers
    @@ -412,12 +412,12 @@
    -

    Example call

    +

    Example call

    ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999 -

    Example response

    +

    Example response

    <xml version="1.0" encoding="UTF-8">;
     <GetAuthorityRecords>
       <record>
    @@ -459,7 +459,7 @@
                                     

    Looks up a patron in the ILS by an identifier, and returns the ILS identifier for that patron, aka the patron identifier.

    -

    Parameters

    +

    Parameters

    id (Required)
    an identifier used to look up the patron in Koha
    @@ -476,12 +476,12 @@
    -

    Example call

    +

    Example call

    ilsdi.pl?service=LookupPatron&id=815&id_type=cardnumber -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <LookupPatron>
       <id>419</id>
    @@ -492,19 +492,19 @@
                                     

    AuthenticatePatron

    Authenticates a user's login credentials and returns the identifier for the patron.

    -

    Parameters

    +

    Parameters

    username (Required)
    user's login identifier
    password (Required)
    user's password
    -

    Example call

    +

    Example call

    ilsdi.pl?service=AuthenticatePatron&username=john9&password=soul -

    Example Response

    +

    Example Response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <AuthenticatePatron>
       <id>419</id>
    @@ -518,7 +518,7 @@
                                     patron's contact information, fine information, hold request
                                     information, loan information, and messages.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron
    @@ -534,12 +534,12 @@
    whether or not to return extended patron attributes information in the response
    -

    Example call

    +

    Example call

    ilsdi.pl?service=GetPatronInfo&patron_id=1&show_contact=0&show_loans=1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <GetPatronInfo>
       <category_type>A</category_type>
    @@ -651,18 +651,18 @@
                                     

    GetPatronStatus

    Returns a patron's status information from Koha.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron
    -

    Example call

    +

    Example call

    ilsdi.pl?service=GetPatronStatus&patron_id=1 -

    Example Response

    +

    Example Response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <GetPatronStatus>
       <expiry>2010-03-04</expiry>
    @@ -675,7 +675,7 @@
                                     

    GetServices

    Returns information about the services available on a particular item for a particular patron.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron
    @@ -683,12 +683,12 @@
    system item identifier
    -

    Example call

    +

    Example call

    ilsdi.pl?service=GetServices&patron_id=1&item_id=1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <GetServices>
       <AvailableFor>title level hold</AvailableFor>
    @@ -700,7 +700,7 @@
                                     

    RenewLoan

    Extends the due date for a patron's existing loan.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron
    @@ -710,12 +710,12 @@
    the date the patron would like the item returned by
    -

    Example call

    +

    Example call

    ilsdi.pl?service=RenewLoan&patron_id=1&item_id=1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <RenewLoan>
       <success>0</success>
    @@ -728,7 +728,7 @@
                                     

    HoldTitle

    Creates, for a patron, a title-level hold request on a given bibliographic record in Koha.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the ILS identifier for the patron for whom the request is placed
    @@ -744,12 +744,12 @@
    date after which item returned to shelf if item is not picked up
    -

    Example Call

    +

    Example Call

    ilsdi.pl?service=HoldTitle&patron_id=1&bib_id=1&request_location=127.0.0.1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <HoldTitle>
       <title>(les) galères de l'Orfèvre</title>
    @@ -762,7 +762,7 @@
                                     

    HoldItem

    Creates, for a patron, an item-level hold request on a specific item of a bibliographic record Koha.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the ILS identifier for the patron for whom the request is placed
    @@ -778,12 +778,12 @@
    date after which item returned to shelf if item is not picked up
    -

    Example Call

    +

    Example Call

    ilsdi.pl?service=HoldItem&patron_id=1&bib_id=1&item_id=1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <HoldTitle>
       <title>(les) galères de l'Orfèvre</title>
    @@ -796,7 +796,7 @@
                                     

    CancelHold

    Cancels an active hold request for the patron.

    -

    Parameters

    +

    Parameters

    patron_id (Required)
    the unique patron identifier in the ILS; the same identifier returned by LookupPatron or AuthenticatePatron
    @@ -804,12 +804,12 @@
    system hold identifier (returned by GetRecords and GetPatronInfo into element 'reserve_id')
    -

    Example call

    +

    Example call

    ilsdi.pl?service=CancelHold&patron_id=1&item_id=1 -

    Example response

    +

    Example response

    <?xml version="1.0" encoding="ISO-8859-1" ?>
     <CancelHold>
       <message>Canceled</message>
    diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt
    index 9ff0ccda8c..10625d8b1b 100644
    --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt
    +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-alert-subscribe.tt
    @@ -23,7 +23,7 @@
                                 

    Subscribe to a subscription alert

    Do you want to receive an email when a new issue for this subscription arrives?

    -

    [% bibliotitle | html %]

    +

    [% bibliotitle | html %]

    [% IF ( notes ) %]

    [% notes | html %]

    [% END %] @@ -37,7 +37,7 @@

    Unsubscribe from a subscription alert

    Please confirm that you do not want to receive email when a new issue arrives for this subscription.

    -

    [% bibliotitle | html %]

    +

    [% bibliotitle | html %]

    [% IF ( notes ) %]

    [% notes | html %]

    [% END %] diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt index 6392fda6cd..f15beea5fc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -40,7 +40,7 @@ [% IF ( nopermission ) %]
    -

    Access denied

    +

    Access denied

    Sorry, the system doesn't think you have permission to access this page.

    [% IF SCO_login %]

    Log out and try again with a different user.

    @@ -95,15 +95,15 @@ [% END %]
    [% ELSE %] -

    Shibboleth Login

    +

    Shibboleth Login

    Log in using a Shibboleth account.

    [% END # /IF invalidShibLogin %] [% UNLESS ( Koha.Preference('OPACShibOnly') ) %] [% IF ( casAuthentication ) %] -

    CAS login

    +

    CAS login

    If you do not have a Shibboleth account, but you do have a CAS account, you can use CAS.

    [% ELSE %] -

    Local login

    +

    Local login

    If you do not have a Shibboleth account, but you do have a local login, then you may login below.

    [% END %] [% END %] @@ -125,7 +125,7 @@
[% END %] [% ELSE %] -

CAS login

+

CAS login

[% IF ( invalidCasLogin ) %] @@ -149,7 +149,7 @@ [% IF ( shibbolethAuthentication ) %]

Nothing

[% ELSE %] -

Local login

+

Local login

If you do not have a CAS account, but do have a local account, you can still log in:

[% END %] @@ -157,7 +157,7 @@ [% IF ( Koha.Preference('GoogleOpenIDConnect') == 1 ) %] [% IF ( invalidGoogleOpenIDConnectLogin ) %] -

Google login

+

Google login

Sorry, your Google login failed. [% invalidGoogleOpenIDConnectLogin | html %]

Please note that the Google login will only work if you are using the e-mail address registered with this library.

If you want to, you can try to log in using a different account @@ -204,9 +204,9 @@ [% IF ( OpacLoginInstructions ) %] [% PROCESS koha_news_block news => OpacLoginInstructions %] [% ELSE %] -

Don't have a password yet?

+

Don't have a password yet?

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.

-

Don't have a library card?

+

Don't have a library card?

If you don't have a library card, stop by your local library to sign up.

[% END # / IF OpacLoginInstructions %] @@ -221,7 +221,7 @@ [% END # / IF loginprompt %] [% ELSE %] -

Logging on to the catalog has not been enabled by the library.

+

Logging on to the catalog has not been enabled by the library.

  • To report this error, you can email the Koha Administrator.Email
  • Use top menu bar to navigate to another part of Koha.
  • diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 6adf406504..3bd7623c8a 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -684,7 +684,7 @@
    [% IF ( SyndeticsEnabled && SyndeticsSummary && SYNDETICS_SUMMARY ) %] -

    Enhanced descriptions from Syndetics:

    +

    Enhanced descriptions from Syndetics:

    [% SYNDETICS_SUMMARY | $raw %]

    [% END %] @@ -714,7 +714,7 @@ [% IF ( SyndeticsTOC && SYNDETICS_TOC ) %]
    -

    Table of contents provided by Syndetics

    +

    Table of contents provided by Syndetics

      [% FOREACH SYNDETICS_TO IN SYNDETICS_TOC %]
    • [% SYNDETICS_TO.l | html %] [% SYNDETICS_TO.t | html %][% IF ( SYNDETICS_TO.p ) %] ([% SYNDETICS_TO.p | $raw %])[% END %]
    • @@ -727,7 +727,7 @@ [% IF ( SyndeticsExcerpt && SYNDETICS_EXCERPT ) %]
      -

      Excerpt provided by Syndetics

      +

      Excerpt provided by Syndetics

      [% SYNDETICS_EXCERPT | $raw %]
      @@ -736,10 +736,10 @@ [% IF ( SyndeticsReviews && SYNDETICS_REVIEWS ) %]
      -

      Reviews provided by Syndetics

      +

      Reviews provided by Syndetics

      [% FOREACH SYNDETICS_REVIEW IN SYNDETICS_REVIEWS %] [% IF ( SYNDETICS_REVIEW.title ) %] -

      [% SYNDETICS_REVIEW.title | html %]

      +

      [% SYNDETICS_REVIEW.title | html %]

      [% FOREACH review IN SYNDETICS_REVIEW.reviews %] [% IF ( review.content ) %] @@ -756,7 +756,7 @@ [% IF ( SyndeticsAuthorNotes && SYNDETICS_ANOTES ) %]
      -

      Author notes provided by Syndetics

      +

      Author notes provided by Syndetics

      [% FOREACH SYNDETICS_ANOTE IN SYNDETICS_ANOTES %] [% IF ( SYNDETICS_ANOTE.content ) %] [% SYNDETICS_ANOTE.content | $raw %] @@ -892,9 +892,9 @@ [% END %] [% IF review.approved %] -
      Your comment
      +

      Your comment

      [% ELSE %] -
      Your comment (preview, pending approval)
      +

      Your comment (preview, pending approval)

      [% END %] [% review.datereviewed | $KohaDates %]

      @@ -913,20 +913,20 @@ [% END %] [% SWITCH ShowReviewer %] [% CASE 'full' %] -

      Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]
      +

      Comment by [% review.patron.title | html %] [% review.patron.firstname | html %] [% review.patron.surname | html %]

      [% CASE 'first' %] -
      Comment by [% review.patron.firstname | html %]
      +

      Comment by [% review.patron.firstname | html %]

      [% CASE 'surname' %] -
      Comment by [% review.patron.surname | html %]
      +

      Comment by [% review.patron.surname | html %]

      [% CASE 'firstandinitial' %] -
      Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]
      +

      Comment by [% review.patron.firstname | html %] [% review.patron.surname|truncate(2,'.') | html %]

      [% CASE 'username' %] -
      Comment by [% review.patron.userid | html %]
      +

      Comment by [% review.patron.userid | html %]

      [% END %] [% review.datereviewed | $KohaDates %] [% ELSE %] -
      Patron comment on [% review.datereviewed | $KohaDates %]
      +

      Patron comment on [% review.datereviewed | $KohaDates %]

      [% END # / IF ShowReviewer != "none" && review.patron %]

      [% FILTER html_break %] @@ -958,7 +958,7 @@ [% IF ( OPACFRBRizeEditions && XISBNS ) %]

      -

      Other editions of this work

      +

      Other editions of this work

      [% FOREACH XISBN IN XISBNS %] @@ -1029,7 +1029,7 @@ [% IF ( NovelistSelectProfile && NovelistSelectView == 'below' && ( normalized_isbn || normalized_upc ) ) %]
      -

      Novelist Select

      +

      Novelist Select

      [% END %] @@ -1130,7 +1130,7 @@ [% IF ( NovelistSelectProfile && NovelistSelectView == 'right' && ( normalized_isbn || normalized_upc ) ) %]
      -

      Novelist Select

      +

      Novelist Select

      [% END %] @@ -1187,7 +1187,7 @@
      @@ -496,7 +496,7 @@ [% END %] [% IF ( amountoutstanding < 0 ) %] -

      Credits

      +

      Credits

      Amount
      @@ -509,7 +509,7 @@ [% END %] [% IF relatives_with_fines %] -

      Fines and charges

      +

      Fines and charges

      Amount
      diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt index 5f3ca04918..ca12b62018 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/sci/sci-main.tt @@ -62,20 +62,20 @@ [% IF ( nopermission ) %] [%# This is what is displayed if user doesn't have permission %]
      -

      Access denied

      +

      Access denied

      Sorry, this self check-in station has lost authentication. Please contact the administrator to resolve this problem.

      [% ELSIF ( different_ip ) %] [%# This is what is displayed if user doesn't have permission %]
      -

      Session lost

      +

      Session lost

      You are accessing self check-in from a different IP address! Please log in again.

      [% ELSIF ( checkins ) %] [%# We have results from a check-in attempt %]
      [% IF ( success && success.size > 0 || errors && errors.size > 0 ) %] -

      Results

      +

      Results

      @@ -163,7 +163,7 @@