Bugzilla – Attachment 143125 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.02 KB, created by
Owen Leonard
on 2022-11-03 14:59:12 UTC
(
hide
)
Description:
Bug 32097: Consistent classes for primary buttons: Lists
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-11-03 14:59:12 UTC
Size:
5.02 KB
patch
obsolete
>From 53044557532b87a717f440a6e7c481559bdc6300 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. >--- > .../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 @@ > </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 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 @@ > <!-- 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 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 @@ > </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 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 @@ > <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 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 @@ > > <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.20.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