From 55bb8b0c744ce120f9e59b7099759e843c3f77e1 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 12 Mar 2018 12:56:08 +0000 Subject: [PATCH] Bug 20372: Correct toolbar markup on some pages Differences in markup around some toolbars has the potential to create CSS styling problems. This patch changes the markup to be consistent with other instances of
To test, apply the patch and view these pages: - Course reserves (main page) - Course reserves -> Course detail page - Reports -> Dictionary On each of these pages the toolbar should look correct. Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer Signed-off-by: Jonathan Druart Signed-off-by: Nick Clemens (cherry picked from commit c9ee7c8d3b34da110702cfd93e16b11350d19a6d) Signed-off-by: Fridolin Somers --- .../en/modules/course_reserves/course-details.tt | 14 +++++++++----- .../en/modules/course_reserves/course-reserves.tt | 8 +++----- .../prog/en/modules/reports/dictionary.tt | 4 +--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt index fd7cea5c06..4b01a3817b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-details.tt @@ -53,11 +53,15 @@
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %]
-
    - [% IF CAN_user_coursereserves_add_reserves %]
  • Add reserves
  • [% END %] - [% IF ( CAN_user_coursereserves_manage_courses ) %]
  • Edit course
  • [% END %] - [% IF ( CAN_user_coursereserves_manage_courses ) %]
  • Delete course
  • [% END %] -
+ [% IF CAN_user_coursereserves_add_reserves %] + Add reserves + [% END %] + [% IF ( CAN_user_coursereserves_manage_courses ) %] + Edit course + [% END %] + [% IF ( CAN_user_coursereserves_manage_courses ) %] + Delete course + [% END %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt index 97c2f65e07..1416461927 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course-reserves.tt @@ -28,11 +28,9 @@ $(document).ready(function() {
[% IF CAN_user_coursereserves_add_reserves OR CAN_user_coursereserves_manage_courses OR CAN_user_coursereserves_manage_courses %]
-
    - [% IF ( CAN_user_coursereserves_manage_courses ) %] -
  • New course
  • - [% END %] -
+ [% IF ( CAN_user_coursereserves_manage_courses ) %] + New course + [% END %]
[% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt index 9bcf24bf8e..0270c3a3ef 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/dictionary.tt @@ -50,9 +50,7 @@
[% IF ( start_dictionary ) %] [% END %]

Dictionary

-- 2.39.5