From 8be5f8a11df37ec23c92c0c82dada0f7cccc2d32 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 3 Nov 2022 14:57:32 +0000 Subject: [PATCH] Bug 32097: Consistent classes for primary buttons: Lists This patch makes changes the button markup in lists templates so that all submit buttons and any buttons that should should be styled as primary buttons have the Bootstrap class "btn btn-primary." To test, apply the patch and view lists pages to confirm that everything looks correct. In most cases there are no visible changes. Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/virtualshelves/merge/selection.tt | 2 +- .../prog/en/modules/virtualshelves/addbybiblionumber.tt | 2 +- .../prog/en/modules/virtualshelves/downloadshelf.tt | 4 ++-- .../prog/en/modules/virtualshelves/sendshelfform.tt | 2 +- .../intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves/merge/selection.tt b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves/merge/selection.tt index 8f5d2d705b1..70606131bfc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves/merge/selection.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves/merge/selection.tt @@ -14,5 +14,5 @@ [% END %] - + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt index 785a0d43ba4..51b9dde8e6c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/addbybiblionumber.tt @@ -109,7 +109,7 @@
- Cancel + Cancel
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt index 53566eac728..ebc7d8d9a1b 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/downloadshelf.tt @@ -40,8 +40,8 @@
- Cancel -
+ Cancel + [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt index 919ff4275b3..3817c570344 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelfform.tt @@ -32,7 +32,7 @@
  • -
    Cancel
    +
    Cancel
    [% END %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt index 7ec5e038078..4496f8f7c46 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt @@ -234,7 +234,7 @@
    - + Cancel
    @@ -472,7 +472,7 @@
    - + [% IF referer == 'view' %] Cancel [% ELSE %] -- 2.38.1