From cc2e34468aad91e754ea5590fc4abc9c25ba8525 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Mon, 5 Apr 2021 08:52:33 +0000 Subject: [PATCH] Bug 27631: authorities, clubs, common, course_reserves folders Changed each of the pages in the authorities, clubs, common, course_reserves 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 authorities, clubs, common, course_reserves 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/authorities/authorities-home.tt | 2 ++ .../prog/en/modules/authorities/detail.tt | 3 ++- .../prog/en/modules/clubs/clubs-add-modify.tt | 12 +++++++----- .../prog/en/modules/clubs/patron-enroll.tt | 4 ++-- .../prog/en/modules/clubs/templates-add-modify.tt | 4 ++-- .../en/modules/course_reserves/add_items-step1.tt | 1 + .../en/modules/course_reserves/add_items-step2.tt | 3 +++ .../en/modules/course_reserves/batch_add_items.tt | 3 ++- .../en/modules/course_reserves/batch_rm_items.tt | 3 ++- .../prog/en/modules/course_reserves/course.tt | 3 ++- .../en/modules/course_reserves/invalid-course.tt | 2 +- 11 files changed, 26 insertions(+), 14 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt index ca2c5462db..11ccc81ad3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt @@ -27,6 +27,8 @@ [% INCLUDE 'authorities-toolbar.inc' %] +

Authorities

+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt index c2ed977238..b753722ee3 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt @@ -55,9 +55,10 @@ [% IF ( unknownauthid ) %] +

Authority does not exist

The authority record you requested does not exist ([% errauthid | html %]).
[% ELSE %] -

Authority #[% authid | html %] ([% authtypetext | html %])

+

Authority #[% authid | html %] ([% authtypetext | html %])

[% IF count %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt index f992053816..0cd62451bf 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt @@ -52,11 +52,13 @@
- [% IF club %] - Modify club [% club.name | html %] - [% ELSE %] - Create a new [% club_template.name | html %] club - [% END %] +

+ [% IF club %] + Modify club [% club.name | html %] + [% ELSE %] + Create a new [% club_template.name | html %] club + [% END %] +

    diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt index 21ff9056b0..13f209ba46 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/patron-enroll.tt @@ -1,9 +1,9 @@ [% USE AuthorisedValues %] [% SET AuthorisedValuesCategories = AuthorisedValues.GetCategories %] -

    +

    Enroll in [% club.name | html %] -

    +

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt index 73b3b4348b..c74f614aad 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt @@ -52,13 +52,13 @@ -

+

[% IF club_template %] Modify club template [% club_template.name | html %] [% ELSE %] Create a new club template [% END %] -

+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt index 67deabc403..89d42663dd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt @@ -27,6 +27,7 @@
+

Add reserves for [% course.course_name | html %]

[% IF ERROR_ITEM_NOT_FOUND %] [% IF UNKNOWN_BARCODE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt index 2efd1a2a2c..51aea6fa23 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt @@ -30,6 +30,9 @@
+

+i [% IF is_edit || course_reserve %]Edit [% ELSE %]Reserve [% END %][% biblio.title | html %] for [% course.course_name | html %] +

[% IF course_reserve && !is_edit%]
This course already has this item on reserve.
[% END %] [% IF course_item %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt index 153f51c6ef..0acb573fe9 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt @@ -32,6 +32,7 @@
+

Add reserves for [% course.course_name | html %]

[% IF action == 'invalid_course' %]
Invalid course!
[% END %] @@ -152,7 +153,7 @@ [% END %] [% IF action == 'display_results' %] -

Results

+

Results

[% IF barcodes %]

Items added

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt index e325d495fb..87db994454 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt @@ -29,6 +29,7 @@
+

Batch remove reserves

[% IF action == 'display_form' %] @@ -50,7 +51,7 @@ [% END %] [% IF action == 'display_results' %] -

Results

+

Results

Items removed

[% IF item_and_count > 0 %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt index ec9bc19ac7..ca5e55fee5 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt @@ -39,6 +39,7 @@
+

[% IF course_name %] Edit [% course_name | html %] [% ELSE %] New course [% END %]

[% IF course_id %][% END %] @@ -157,8 +158,8 @@ [% ELSE %]
+

No DEPARTMENT authorized values found!

- No DEPARTMENT authorized values found! [% IF ( CAN_user_parameters ) %] Please create one or more authorized values with the category DEPARTMENT. [% ELSE %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt index cf6c5a9665..85ea459d6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/invalid-course.tt @@ -24,7 +24,7 @@

-

Invalid course!

+

Invalid course!

-- 2.39.5