Bug 17163: Making MARC subfields structure actions buttons
To test: 1) Go to Admin -> MARC bibliographic framework 2) Go to Actions -> MARC structure for any framework 3) Click Subfields 4) Confirm Edit and Delete links show as buttons with appropriate icons in one column called 'Actions' 5) Confirm buttons do not wrap on narrower browser 6) Confirm buttons behave as expected Sponsored-by: Catalyst IT Patch behaves as expected. Signed-off-by: Marc Véron <veron@veron.ch> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
b9cabb23c3
commit
159bf7dafc
1 changed files with 5 additions and 4 deletions
|
@ -255,8 +255,7 @@
|
|||
<th>Subfield</th>
|
||||
<th>Text</th>
|
||||
<th>Constraints</th>
|
||||
<th>Edit</th>
|
||||
<th>Delete</th>
|
||||
<th>Actions</th>
|
||||
</tr>
|
||||
[% FOREACH loo IN loop %]
|
||||
<tr>
|
||||
|
@ -285,8 +284,10 @@
|
|||
[% IF ( loo.link ) %] | Link:[% loo.link %],[% END %]
|
||||
[% END %]
|
||||
</td>
|
||||
<td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield %]&frameworkcode=[% frameworkcode %]#sub[% loo.tagsubfield %]field">Edit</a></td>
|
||||
<td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&tagfield=[% loo.tagfield %]&tagsubfield=[% loo.tagsubfield %]&frameworkcode=[% frameworkcode %]">Delete</a></td>
|
||||
<td class="actions">
|
||||
<a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&tagfield=[% loo.tagfield %]&frameworkcode=[% frameworkcode %]#sub[% loo.tagsubfield %]field" class="btn btn-mini"><i class="fa fa-pencil"></i> Edit</a>
|
||||
<a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=delete_confirm&tagfield=[% loo.tagfield %]&tagsubfield=[% loo.tagsubfield %]&frameworkcode=[% frameworkcode %]" class="btn btn-mini"><i class="fa fa-trash"></i> Delete</a>
|
||||
</td>
|
||||
</tr>
|
||||
[% END %]
|
||||
</table>
|
||||
|
|
Loading…
Reference in a new issue