Bug 16546

Summary: Make edit and delete links styled buttons in MARC bibliographic framework administration
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: h.meissner.82, jonathan.druart, mirko, testopia, veron
Version: Main   
Hardware: All   
OS: All   
URL: /cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=X
Change sponsored?: --- Patch complexity: Small patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration

Description Owen Leonard 2016-05-18 16:39:14 UTC
In Administration -> MARC bibliographic framework, the initial view has a styled action menu, but if you choose "MARC structure," there are unstyled action links. Further, if you choose "subfields" from that page there are edit and delete links which could be made into Bootstrap-styled buttons with Font Awesome icons.
Comment 1 Owen Leonard 2016-05-25 14:45:12 UTC Comment hidden (obsolete)
Comment 2 Holger Meißner 2016-05-27 12:22:00 UTC Comment hidden (obsolete)
Comment 3 Holger Meißner 2016-05-27 12:24:32 UTC Comment hidden (obsolete)
Comment 4 Holger Meißner 2016-05-27 12:29:55 UTC Comment hidden (obsolete)
Comment 5 Marc Véron 2016-05-28 19:32:19 UTC
Tested as well, works as expected.
Holger, did you forget to switch the status to "Signed-off"?
Comment 6 Marc Véron 2016-06-01 16:40:41 UTC Comment hidden (obsolete)
Comment 7 Marc Véron 2016-06-01 16:42:14 UTC
Created attachment 51949 [details] [review]
Bug 16546 - Make edit and delete links styled buttons in MARC bibliographic framework administration

This patch modifies two MARC framwork templates, styling some
edit and delete links as Bootstrap buttons with Font Awesome icons.

To test, apply the patch and go to Administration -> MARC frameworks ->
MARC structure.

- In the list of tags for your selected MARC framework, the "Subfields,"
  "Edit" and "Delete" items in the 'Actions' menu should look correct
  and work correctly.
- Choose "Subfields" for any tag. In the list of subfields,
  the "Edit" and "Delete" buttons should look correct and work
  correctly.

Signed-off-by: Holger Meißner <h.meissner.82@web.de>
Signed-off-by: Marc Véron <veron@veron.ch>
Comment 8 Marc Véron 2016-06-01 16:48:07 UTC
Signing off. Sorry for the duplicate upload, after uploading I got a 500 internal error from Bugzilla (Failed to attach patch to bug 16546, status 500), but patches were attached anyway.
Comment 9 Jonathan Druart 2016-06-12 12:00:17 UTC
As I already said, it seems that 3 buttons could be displayed in the same column to avoid 1 click.
Why did not join put Edit and Delete into the same column (/marc_subfields_structure.pl?tagfield=200&frameworkcode=)?
Comment 10 Owen Leonard 2017-01-05 12:21:13 UTC
Made obsolete by Bug 17162 and Bug 17163

*** This bug has been marked as a duplicate of bug 17162 ***