Bugzilla – Attachment 143560 Details for
Bug 32097
Consistent classes for primary buttons: Lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32097: Consistent classes for primary buttons: Lists
Bug-32097-Consistent-classes-for-primary-buttons-L.patch (text/plain), 5.13 KB, created by
Tomás Cohen Arazi (tcohen)
on 2022-11-09 17:49:10 UTC
(
hide
)
Description:
Bug 32097: Consistent classes for primary buttons: Lists
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-11-09 17:49:10 UTC
Size:
5.13 KB
patch
obsolete
>From 8be5f8a11df37ec23c92c0c82dada0f7cccc2d32 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >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 <david@davidnind.com> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > .../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 @@ > </tr> > [% END %] > </table> >-<input type="submit" value="selection" /> >+<input type="submit" class="btn btn-primary" value="selection" /> > </form> >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 @@ > <!-- SAVE --> > <fieldset class="action"> > <input type="hidden" name="sortfield" value="title" /> >- <input type="submit" value="Save" class="submit" /> <a class="close cancel" href="#">Cancel</a> >+ <input type="submit" class="btn btn-primary" value="Save" /> <a class="close cancel" href="#">Cancel</a> > </fieldset> > </form> > <!-- /SAVE --> >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 @@ > </li></ol> > </fieldset> > <fieldset class="action"><input type="hidden" name="shelfid" value="[% shelfid | html %]" /> >- <input type="submit" name="save" value="Save" /> <a class="cancel close" href="#">Cancel</a> >- </fieldset> >+ <input type="submit" name="save" class="btn btn-primary" value="Save" /> <a class="cancel close" href="#">Cancel</a> >+ </fieldset> > </form> > > [% 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 @@ > <li> > <input type="hidden" name="shelfid" value="[% shelfid | html %]" /> > </li></ol></fieldset> >- <fieldset class="action"> <input type="submit" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset> >+ <fieldset class="action"> <input type="submit" class="btn btn-primary" value="Send" /> <a class="cancel close" href="#">Cancel</a> </fieldset> > </form> > > [% END %]</div> >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 @@ > > <br/> > <fieldset class="action"> >- <input type="submit" value="Transfer" class="submit" /> >+ <input type="submit" class="btn btn-primary" value="Transfer" /> > <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&public=1" class="cancel">Cancel</a> > </fieldset> > >@@ -472,7 +472,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Save" class="submit" /> >+ <input type="submit" class="btn btn-primary" value="Save" /> > [% IF referer == 'view' %] > <a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber | uri %]" class="cancel">Cancel</a> > [% ELSE %] >-- >2.38.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32097
:
143125
|
143368
|
143369
| 143560