Bugzilla – Attachment 143126 Details for
Bug 32098
Consistent classes for primary buttons: Clubs and rotating collections
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32098: Consistent classes for primary buttons: Clubs and rotating collections
Bug-32098-Consistent-classes-for-primary-buttons-C.patch (text/plain), 5.20 KB, created by
Owen Leonard
on 2022-11-03 15:11:29 UTC
(
hide
)
Description:
Bug 32098: Consistent classes for primary buttons: Clubs and rotating collections
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2022-11-03 15:11:29 UTC
Size:
5.20 KB
patch
obsolete
>From a27f9207de851b8e6dcd741207df40e265374786 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 3 Nov 2022 15:08:37 +0000 >Subject: [PATCH] Bug 32098: Consistent classes for primary buttons: Clubs and > rotating collections > >This patch makes changes the button markup in clubs and rotating >collections 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 patron clubs and rotating collections >pages to confirm that everything looks correct. In most cases there are >no visible changes. >--- > .../intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt | 2 +- > .../intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt | 2 +- > .../prog/en/modules/rotating_collections/addItems.tt | 2 +- > .../prog/en/modules/rotating_collections/editCollections.tt | 2 +- > .../prog/en/modules/rotating_collections/transferCollection.tt | 2 +- > 5 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >index 9bc758d1ca..8d1f7b614e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt >@@ -140,7 +140,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Save" /> >+ <input type="submit" class="btn btn-primary" value="Save" /> > <a href="clubs.pl" class="cancel">Cancel</a> > </fieldset> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >index 4862a8923d..4ad7478b9d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt >@@ -197,7 +197,7 @@ > > <fieldset class="action"> > <input type="hidden" name="id" value="[% club_template.id | html %]" /> >- <input type="submit" value="Save" /> >+ <input type="submit" class="btn btn-primary" value="Save" /> > <a href="clubs.pl" class="cancel">Cancel</a> > </fieldset> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >index 3cfbb3403d..68fb2048b7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt >@@ -106,7 +106,7 @@ > <p> > <input type="hidden" id="colId" name="colId" value="[% colId | html %]" /> > <input type="hidden" name="action" value="addItem" /> >- <input type="submit" value="Submit" /> >+ <input type="submit" class="btn btn-primary" value="Submit" /> > </p> > </fieldset> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt >index c54822753f..e030011ef3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt >@@ -151,7 +151,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <p><input type="submit" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p> >+ <p><input type="submit" class="btn btn-primary" value="Submit" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a></p> > </fieldset> > </form> > [% END %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt >index a6192985a7..5e3b996d31 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt >@@ -83,7 +83,7 @@ > </ol> > </fieldset> > <fieldset class="action"> >- <input type="submit" value="Transfer collection"> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a> >+ <input type="submit" class="btn btn-primary" value="Transfer collection" /> <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl" class="cancel">Cancel</a> > </fieldset> > </form> > </div> >-- >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 32098
:
143126
|
143700
|
143825