From 9070456bb5aa07e65b43feb34c06febd07cfe771 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 --- .../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 8f5d2d705b..70606131bf 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 785a0d43ba..51b9dde8e6 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 53566eac72..ebc7d8d9a1 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 919ff4275b..3817c57034 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 7ec5e03807..4496f8f7c4 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.30.2