[Bug 32097] New: Consistent classes for primary buttons: Lists
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 Bug ID: 32097 Summary: Consistent classes for primary buttons: Lists Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: ASSIGNED Severity: enhancement Priority: P5 - low Component: Templates Assignee: oleonard@myacpl.org Reporter: oleonard@myacpl.org QA Contact: testopia@bugs.koha-community.org CC: testopia@bugs.koha-community.org Blocks: 32067 As part of Bug 32067 - [OMNIBUS] Consistent classes for submit and/or primary buttons: This patch will update buttons in lists templates so that buttons which are currently styled as primary buttons will have the the "btn btn-primary" classes. In some places, the classes have been added to buttons which were not input[type='submit'] but which should be styled as primary. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32067 [Bug 32067] [OMNIBUS] Consistent classes for submit and/or primary buttons -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 Owen Leonard <oleonard@myacpl.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |Needs Signoff Patch complexity|--- |Small patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 --- Comment #1 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 143125 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143125&action=edit 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. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143125|0 |1 is obsolete| | --- Comment #2 from David Nind <david@davidnind.com> --- Created attachment 143368 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143368&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 David Nind <david@davidnind.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@davidnind.com --- Comment #3 from David Nind <david@davidnind.com> --- Testing notes (using KTD). 1. These changed templates accessed from: Lists 2. I tested by: - Reviewing the patch - <input type="submit"... becomes <input type="submit" class="btn btn-primary"... - Listing the templates in koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/ and splitting into two lists - those changed and those not changed - Working out how to access them - Creating screenshots and putting them in a document - Applying the patch (+ flush_memcached, restart_all, and cleared browser cache) - Going through the list of files again: compared to original screenshot taken, then noted whether changed or not - Noting any questions - these don't affect the sign off for this bug 3. Files changed - no visible changes noticed: - ../../includes/virtualshelves/merge/selection.tt (Not sure how to trigger the dislay of this one - not referenced by any files (git grep selection.tt ":(exclude)*.po")) - addbybiblionumber.tt (Lists > select a list > Add items > modal window to add using barcodes or biblio number) - downloadshelf.tt (No visible change. Not sure how to display from the lists area - standard formats and CSV profiles download automatically without a separate a form/page. Accessed directly using http://127.0.0.1:8081/cgi-bin/koha/virtualshelves/downloadshelf.pl?shelfnumb...) - sendshelfform.tt (No visible change. Lists > select a list to view > Send list) - shelves.tt . Lists homepage (No visible change. Lists) . Create a new list (No visible change. Lists > New list > enter details > Save) . Edit list (No visible change. Lists > select a list > Edit > Edit list) . Transfer ownership (No visible change. Lists > select a public list > Transfer action > search for new owner > Transfer) . Add items to another list (No visible change. Lists > view a list with more than one item > select two or more items > from the toolbar select the list to add to > Save - pop up window appears with options to save or cancel) . Place a hold (select one or more items in a list > select 'Place hold' from the toolbar > taken to Catalog area to complete the holds actions) . Merge selected (select one or more items in a list > select 'Merge selected' from the toolbar > taken to Cataloguing area to start the merging records process) 4. Files not changed: - tables/shelves_results.tt (used to generate the list of lists under Your lists and Public lists - no submit buttons) - sendshelf.tt (no buttons - message sent when sending list) 5. File count check: - Number of files in folder: 5 + 1 in tables directory + 1 in merge directory = 7 - Number of files listed: 7 (5 changed in this patch) Questions 1. Should the buttons be in the div or outisde the div? Those in the white background are: - Transfer ownership: Lists > select a public list > Transfer action > search for new owner > Transfer -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 --- Comment #4 from David Nind <david@davidnind.com> --- Created attachment 143369 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143369&action=edit Screnshots - pages before patch applied This attachment has screenshots of pages before the patch was applied. No visible changes noticed for any of the files changed. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #143368|0 |1 is obsolete| | --- Comment #5 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 143560 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143560&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to master Version(s)| |22.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32097 --- Comment #6 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Pushed to master for 22.11. Nice work everyone, thanks! -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org