Bugzilla – Attachment 50248 Details for
Bug 16263
Making authority tags and subfields actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16263: making authority tags and subfields actions buttons
Bug-16263-making-authority-tags-and-subfields-acti.patch (text/plain), 3.91 KB, created by
Aleisha Amohia
on 2016-04-14 22:10:40 UTC
(
hide
)
Description:
Bug 16263: making authority tags and subfields actions buttons
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-04-14 22:10:40 UTC
Size:
3.91 KB
patch
obsolete
>From 526dc76c3c2830d4f6578ce0bcbed57012d67a13 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 14 Apr 2016 22:02:47 +0000 >Subject: [PATCH] Bug 16263: making authority tags and subfields actions > buttons > >To test: >1) Go to Admin -> Authority types >2) Click the dropdown for one of the frameworks and click MARC structure >3) Confirm the actions subfields, edit and delete all show in the dropdown and work as expected >4) Click subfields >5) Confirm the action delete on this page shows as a font awesome button and works as expected > >Sponsored-by: Catalyst IT >--- > .../en/modules/admin/auth_subfields_structure.tt | 4 ++-- > .../prog/en/modules/admin/auth_tag_structure.tt | 22 +++++++++++++------- > 2 files changed, 16 insertions(+), 10 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >index 7caceca..b62de1d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt >@@ -274,7 +274,7 @@ > <th>Subfield</th> > <th>Text</th> > <th>Constraints</th> >- <th>Delete</th> >+ <th> </th> > </tr> > [% FOREACH loo IN loop %] > <tr> >@@ -307,7 +307,7 @@ > [% IF ( loo.value_builder ) %] | <strong>Plugin:</strong>[% loo.value_builder %],[% END %] > [% END %] > </td> >- <td><a href="[% loo.delete %]">Delete</a></td> >+ <td><a href="[% loo.delete %]" class="btn btn-mini"><i class="fa fa-trash"></i> Delete</a></td> > </tr> > [% END %] > </table> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >index c495205..2b5bef5 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt >@@ -12,7 +12,7 @@ > $(document).ready(function() { > $("#table_authtagstructure").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [ >- { "aTargets": [ -1, -2, -3 ], "bSortable": false, "bSearchable": false }, >+ { "aTargets": [ -1 ], "bSortable": false, "bSearchable": false }, > ], > "sPaginationType": "four_button" > })); >@@ -211,10 +211,8 @@ > <th>Repeatable</th> > <th>Mandatory</th> > <th>Authorized<br />value</th> >- <th>Subfields</th> >- <th>Edit</th> >- <th>Delete</th> >- </tr> >+ <th> </th> >+ </tr> > </thead> > <tbody> > [% FOREACH loo IN loop %] >@@ -224,9 +222,17 @@ > <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td> > <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td> > <td>[% loo.authorised_value %]</td> >- <td><a href="[% loo.subfield_link %]" class="button">subfields</a></td> >- <td><a href="[% loo.edit %]">Edit</a></td> >- <td><a href="[% loo.delete %]">Delete</a></td> >+ <td> >+ <div class="dropdown"> >+ <a class="btn btn-mini dropdown-toggle" id="authtagactions[% loo.tagfield %]" role="button" data-toggle="dropdown" href="#"> >+ Actions <b class="caret"></b></a> >+ <ul class="dropdown-menu pull-left" role="menu" aria-labelledby="authtagactions[% loo.tagfield %]"> >+ <li><a href="[% loo.subfield_link %]"><i class="fa fa-info"></i> Subfields</a></li> >+ <li><a href="[% loo.edit %]"><i class="fa fa-pencil"></i> Edit</a></li> >+ <li><a href="[% loo.delete %]"><i class="fa fa-trash"></i> Delete</a></li> >+ </ul> >+ </div> >+ </td> > </tr> > [% END %] > </tbody> >-- >1.7.10.4
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 16263
:
50248
|
50274
|
50302
|
50671
|
50705
|
50773
|
50781
|
50787