From 44a8e0bd6ec1260fdf286b67003907e00017fbef Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Mon, 5 Apr 2021 09:34:34 +0000 Subject: [PATCH] Bug 27631: reports and serials folders Changed each of the pages in the reports and serials folders to have one

tag showing that describes the page, rather than the

describing the logo. The hierarchy of heading tags may be broken in many pages, but this will be dealt with in an additional bug. To test: 1) Go to the Staff Client 2) Apply patch 3) Go to each of the pages in the reports and serials folders and check that they have an obvious and descriptive heading 4) Ensure that the heading in the page is

Sponsored-by: Catalyst IT Signed-off-by: Owen Leonard Signed-off-by: Katrin Fischer Signed-off-by: Fridolin Somers --- .../prog/en/modules/reports/acquisitions_stats.tt | 2 +- .../prog/en/modules/reports/borrowers_stats.tt | 2 +- .../prog/en/modules/reports/catalogue_stats.tt | 2 +- .../prog/en/modules/reports/convert_report.tt | 1 + .../prog/en/modules/reports/guided_reports_start.tt | 6 ++++-- .../prog/en/modules/reports/issues_avg_stats.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/issues_stats.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/itemtypes.tt | 2 +- .../intranet-tmpl/prog/en/modules/reports/reports-home.tt | 2 +- .../prog/en/modules/reports/reserves_stats.tt | 2 +- .../prog/en/modules/serials/routing-preview.tt | 2 +- .../intranet-tmpl/prog/en/modules/serials/routing.tt | 2 +- .../intranet-tmpl/prog/en/modules/serials/serials-edit.tt | 5 +++-- .../intranet-tmpl/prog/en/modules/serials/serials-home.tt | 2 ++ .../prog/en/modules/serials/serials-search.tt | 8 ++++---- .../prog/en/modules/serials/showpredictionpattern.tt | 2 +- .../prog/en/modules/serials/subscription-renew.tt | 2 ++ 17 files changed, 27 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt index 54eae66a3c..aa41d41a16 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/acquisitions_stats.tt @@ -40,9 +40,9 @@
+

Acquisitions statistics

[% IF ( do_it ) %] [% FOREACH mainloo IN mainloop %] -

Acquisitions statistics

[% IF ( mainloo.loopfilter.size ) %]

Filtered on:

[% FOREACH loopfilte IN mainloo.loopfilter %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt index 674590a7e6..2017c62cf6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/borrowers_stats.tt @@ -48,9 +48,9 @@
+

Patrons statistics

[% IF ( do_it ) %] [% FOREACH mainloo IN mainloop %] -

Patrons statistics

[% IF ( mainloo.loopfilter.size>0 ) %]

Filtered on:

[% FOREACH loopfilte IN mainloo.loopfilter %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt index 8a63209b21..28ca91a789 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/catalogue_stats.tt @@ -41,9 +41,9 @@
+

Catalog statistics

[% IF ( do_it ) %] [% FOREACH mainloo IN mainloop %] -

Catalog statistics

[% IF ( mainloo.loopfilter ) %]

Filtered on:

[% FOREACH loopfilte IN mainloo.loopfilter %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt index b7d0c940a1..8650afff24 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/convert_report.tt @@ -3,6 +3,7 @@ +

Convert report

[% IF msg == 'no_report' %] There is no valid report for this id. diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt index 55d9e83113..80a3279d4a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt @@ -172,7 +172,7 @@ [% INCLUDE "reports-toolbar.inc" %] [% IF ( start ) %] -

Guided reports

+

Guided reports

Use the guided reports engine to create non standard reports. This feature aims to provide some middle ground between the built in canned reports and writing custom SQL reports.

Build and run reports

@@ -219,8 +219,8 @@ [% END %] [% IF ( saved1 ) %] - [% IF ( savedreports ) %]

Saved reports

+ [% IF ( savedreports ) %] [% IF ( filters.date || filters.author || filters.keyword ) %]

Filtered by: @@ -1193,6 +1193,7 @@ [% END #/IF ( execute ) %] [% IF ( create ) %] +

Create from SQL

Create report from SQL @@ -1278,6 +1279,7 @@ [% END # /IF saved_results %] [% IF ( showsql ) %] +

Saved reports - SQL

[% reportname | html %]
    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt index 8b02e551e9..0cf4e3fdac 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_avg_stats.tt @@ -41,9 +41,9 @@
    +

    Average checkout period

    [% IF ( do_it ) %] [% FOREACH mainloo IN mainloop %] -

    Average checkout period

    [% IF ( mainloo.loopfilter ) %]

    Filtered on:

    [% FOREACH loopfilte IN mainloo.loopfilter %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt index ebd797e20b..46dc8ac727 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/issues_stats.tt @@ -44,9 +44,9 @@
    +

    Circulation statistics

    [% IF ( do_it ) %] [% FOREACH mainloo IN mainloop %] -

    Circulation statistics

    [% IF ( mainloo.loopfilter ) %]

    Filtered on:

      diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt index 28cdac564d..57fe194b5b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/itemtypes.tt @@ -74,7 +74,7 @@ [% END %] [% ELSE %] -

      View a count of items held at your library grouped by item type

      +

      View a count of items held at your library grouped by item type

        diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt index 98efce96f2..5c2de9cbf3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt @@ -24,7 +24,7 @@
        - +

        Reports

        diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt index 978c24be36..181fb4e188 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reserves_stats.tt @@ -45,9 +45,9 @@
        +

        Holds statistics

        [% IF ( do_it ) %] [% IF ( mainloop ) %] -

        Holds statistics

        [% IF ( loopfilter ) %]

        Filtered on:

          diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt index 39e8bf2299..9338c4fa44 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing-preview.tt @@ -32,7 +32,7 @@
          -

          Preview routing list for [% title | html %]

          +

          Preview routing list for [% title | html %]

          diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt index 93f691cbe4..6d4974a8d3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/routing.tt @@ -45,7 +45,6 @@
          -[% INCLUDE 'blocking_errors.inc' %] [% IF ( op ) %]

          Create routing list for [% title | html %]

          @@ -53,6 +52,7 @@

          Edit routing list for [% title | html %]

          [% END %] +[% INCLUDE 'blocking_errors.inc' %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt index 20c24486a9..d1b93145f4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-edit.tt @@ -102,11 +102,12 @@ $(document).ready(function() {
          - [% INCLUDE 'modals/serials_multi_receiving.inc' %] -

          Serial edition [% bibliotitle | html %] [% IF location %] ([% AuthorisedValues.GetByCode('LOC', location) | html %])[% END %] [% IF ( callnumber ) %] callnumber: [% callnumber | html %][% END %]

          + + [% INCLUDE 'modals/serials_multi_receiving.inc' %] + [% IF internalnotes %]

          Nonpublic note: [% internalnotes | html | html_line_break %]

          [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt index c5c3cb502d..c951daa715 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-home.tt @@ -31,6 +31,8 @@ [% INCLUDE 'serials-toolbar.inc' %] +

          Serials

          +
          diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt index 83fd0ed3f1..2c4766b39c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt @@ -231,15 +231,15 @@ [% IF ( mana ) %] [% IF ( done_searched ) %] -

          Mana subscriptions ([% total | html %] found)

          +

          Mana subscriptions ([% total | html %] found)

          [% ELSE %] -

          Mana subscriptions search

          +

          Mana subscriptions search

          [% END %] [% ELSE %] [% IF ( done_searched ) %] -

          Serials subscriptions ([% total | html %] found)

          +

          Serials subscriptions ([% total | html %] found)

          [% ELSE %] -

          Serials subscriptions search

          +

          Serials subscriptions search

          [% END %] [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt index eb4e5b3d47..ea6e6ab46d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/showpredictionpattern.tt @@ -1,5 +1,5 @@ [% USE KohaDates %] -

          Prediction pattern

          +

          Prediction pattern

          [% IF (not_consistent_end_date) %]

          End date is not consistent with subscription length.

          [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt index d2738d3acd..10f2901a18 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-renew.tt @@ -13,6 +13,8 @@
          +

          Serials subscription renew

          + [% INCLUDE 'blocking_errors.inc' %] [% IF op == 'renew' OR op =='multi_renew' %] -- 2.39.5