Bugzilla – Attachment 143505 Details for
Bug 32087
Consistent classes for primary buttons: Course reserves
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32087: Consistent classes for primary buttons: Course reserves
Bug-32087-Consistent-classes-for-primary-buttons-C.patch (text/plain), 5.02 KB, created by
Katrin Fischer
on 2022-11-09 13:11:35 UTC
(
hide
)
Description:
Bug 32087: Consistent classes for primary buttons: Course reserves
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2022-11-09 13:11:35 UTC
Size:
5.02 KB
patch
obsolete
>From a3431cd36b7290018d50a43eb130720fa28ee91b Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Thu, 3 Nov 2022 12:09:56 +0000 >Subject: [PATCH] Bug 32087: Consistent classes for primary buttons: Course > reserves > >This patch makes changes the button markup in course reserves 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 course reserves 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: Katrin Fischer <katrin.fischer.83@web.de> >--- > .../prog/en/modules/course_reserves/add_items-step1.tt | 2 +- > .../prog/en/modules/course_reserves/add_items-step2.tt | 2 +- > .../prog/en/modules/course_reserves/batch_add_items.tt | 2 +- > .../prog/en/modules/course_reserves/batch_rm_items.tt | 2 +- > .../intranet-tmpl/prog/en/modules/course_reserves/course.tt | 2 +- > 5 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >index e706b7ba52..47f494debd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step1.tt >@@ -70,7 +70,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Submit" class="submit" /> >+ <input type="submit" value="Submit" class="btn btn-primary" /> > > <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]" class="cancel">Cancel</a> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >index 88c528c46e..8c8913291d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/add_items-step2.tt >@@ -248,7 +248,7 @@ > > [% END %] > <fieldset class="action"> >- <input type="submit" id="submit" value="Save" class="submit focus" /> >+ <input type="submit" id="submit" value="Save" class="btn btn-primary focus" /> > > <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]" class="cancel">Cancel</a> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >index c92becfeb7..a33c6fd7bd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_add_items.tt >@@ -151,7 +151,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Submit" class="submit" /> >+ <input type="submit" value="Submit" class="btn btn-primary" /> > > <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course.course_id | uri %]" class="cancel">Cancel</a> > </fieldset> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >index 7f436663a9..6ead79e787 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/batch_rm_items.tt >@@ -47,7 +47,7 @@ > </fieldset> > <fieldset class="action"> > <p>All course reserve items will be deleted from all courses to which they are attached.</p> >- <input type="submit" value="Submit" class="submit" id="batch_rm_btn" /> >+ <input type="submit" value="Submit" class="btn btn-primary" id="batch_rm_btn" /> > <a href="/cgi-bin/koha/course_reserves/course-reserves.pl" class="cancel">Cancel</a> > </fieldset> > </form> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >index 646cda6666..702637f92f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/course_reserves/course.tt >@@ -146,7 +146,7 @@ > </fieldset> > > <fieldset class="action"> >- <input type="submit" value="Save" class="submit" /> >+ <input type="submit" class="btn btn-primary" value="Save" /> > > [% IF course_id %] > <a href="/cgi-bin/koha/course_reserves/course-details.pl?course_id=[% course_id | uri %]" class="cancel">Cancel</a> >-- >2.30.2
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 32087
:
143085
|
143301
| 143505