From 62a37a6c331dca94228c5c98a8c570a72b6f5b6f 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 --- .../bootstrap/en/modules/errors/errorpage.tt | 2 +- koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt | 72 +++++++++++----------- .../bootstrap/en/modules/opac-alert-subscribe.tt | 4 +- .../opac-tmpl/bootstrap/en/modules/opac-auth.tt | 20 +++--- .../opac-tmpl/bootstrap/en/modules/opac-detail.tt | 36 +++++------ .../opac-tmpl/bootstrap/en/modules/opac-library.tt | 4 +- .../modules/opac-memberentry-update-submitted.tt | 2 +- .../bootstrap/en/modules/opac-messaging.tt | 4 +- .../opac-tmpl/bootstrap/en/modules/opac-passwd.tt | 2 +- .../bootstrap/en/modules/opac-password-recovery.tt | 2 +- .../bootstrap/en/modules/opac-patron-consent.tt | 2 +- .../en/modules/opac-recordedbooks-search.tt | 2 +- .../opac-tmpl/bootstrap/en/modules/opac-results.tt | 2 +- .../bootstrap/en/modules/opac-serial-issues.tt | 10 +-- .../bootstrap/en/modules/opac-suggestions.tt | 4 +- .../opac-tmpl/bootstrap/en/modules/opac-user.tt | 10 +-- .../opac-tmpl/bootstrap/en/modules/sci/sci-main.tt | 8 +-- .../opac-tmpl/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 6daca7787f..696aa3c6a7 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 0a751c9d2b..9577541f03 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/ilsdi.tt @@ -98,7 +98,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
    @@ -120,12 +120,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"
    @@ -183,7 +183,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
    @@ -196,12 +196,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>
    @@ -398,7 +398,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
    @@ -410,12 +410,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>
    @@ -457,7 +457,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
    @@ -474,12 +474,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>
    @@ -490,19 +490,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>
    @@ -516,7 +516,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
    @@ -532,12 +532,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>
    @@ -649,18 +649,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>
    @@ -673,7 +673,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
    @@ -681,12 +681,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>
    @@ -698,7 +698,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
    @@ -708,12 +708,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>
    @@ -726,7 +726,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
    @@ -742,12 +742,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>
    @@ -760,7 +760,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
    @@ -776,12 +776,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>
    @@ -794,7 +794,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
    @@ -802,12 +802,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 972d1bda2d..67cb69a7f4 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 abedf7895b..62e58f8cf7 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-auth.tt @@ -38,7 +38,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.

    @@ -93,15 +93,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 %] @@ -123,7 +123,7 @@
[% END %] [% ELSE %] -

CAS login

+

CAS login

[% IF ( invalidCasLogin ) %] @@ -147,7 +147,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 %] @@ -155,7 +155,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 @@ -202,9 +202,9 @@ [% IF Koha.Preference('OpacLoginInstructions') %] [% Koha.Preference('OpacLoginInstructions') | $raw %] [% 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 Koha.Preference('OpacLoginInstructions') %] @@ -219,7 +219,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 29a8139b1c..9adddd1a38 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 @@
      @@ -499,7 +499,7 @@ [% END %] [% IF ( amountoutstanding < 0 ) %] -

      Credits

      +

      Credits

      Amount
      @@ -512,7 +512,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 6229800f90..d44133e3c5 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 @@