Bug 32098: Consistent classes for primary buttons: Clubs and rotating collections
authorOwen Leonard <oleonard@myacpl.org>
Thu, 3 Nov 2022 15:08:37 +0000 (15:08 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 14 Nov 2022 12:34:39 +0000 (09:34 -0300)
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.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt
koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/addItems.tt
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt
koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/transferCollection.tt

index 9bc758d..8d1f7b6 100644 (file)
                 </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>
index 4862a89..4ad7478 100644 (file)
 
                 <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>
index 3cfbb34..68fb204 100644 (file)
                         <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>
 
index c548227..e030011 100644 (file)
                             </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 %]
index a619298..5e3b996 100644 (file)
@@ -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>