Bugzilla – Attachment 50268 Details for
Bug 16266
Making patron types actions buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16266: Making patron types actions buttons
Bug-16266-Making-patron-types-actions-buttons.patch (text/plain), 2.67 KB, created by
Marc Véron
on 2016-04-15 12:26:42 UTC
(
hide
)
Description:
Bug 16266: Making patron types actions buttons
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2016-04-15 12:26:42 UTC
Size:
2.67 KB
patch
obsolete
>From dc0e1927e7901534fd8e8b3d94d5e30981cf3c42 Mon Sep 17 00:00:00 2001 >From: Aleisha <aleishaamohia@hotmail.com> >Date: Thu, 14 Apr 2016 22:28:09 +0000 >Subject: [PATCH] Bug 16266: Making patron types actions buttons >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >To test: >1) Go to Admin -> Patron types & Categories >2) Confirm the actions Edit and Delete show as font awesome buttons and work as expected >3) Confirm that the buttons do not wrap on a narrower browser > >Sponsored-by: Catalyst IT > >Signed-off-by: Marc Véron <veron@veron.ch> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt | 11 ++++++----- > 1 file changed, 6 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >index 1c2bf23..bab851b 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt >@@ -14,7 +14,7 @@ > $(document).ready(function() { > $("#table_categorie").dataTable($.extend(true, {}, dataTablesDefaults, { > "aoColumnDefs": [{ >- "aTargets": [-1, -2], >+ "aTargets": [ -1 ], > "bSortable": false, > "bSearchable": false > }, { >@@ -402,8 +402,7 @@ > [% END %] > <th scope="col">Branches limitations</th> > <th scope="col">Default privacy</th> >- <th scope="col"> </th> >- <th scope="col"> </th> >+ <th scope="col">Actions</th> > </tr> > </thead> > <tbody> >@@ -488,8 +487,10 @@ > Forever > [% END %] > </td> >- <td><a href="/cgi-bin/koha/admin/categories.pl?op=add_form&categorycode=[% category.categorycode |uri %]">Edit</a></td> >- <td><a href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&categorycode=[% category.categorycode |uri %]">Delete</a></td> >+ <td class="actions"> >+ <a href="/cgi-bin/koha/admin/categories.pl?op=add_form&categorycode=[% category.categorycode |uri %]" class="btn btn-mini"><i class="fa fa-pencil"></i> Edit</a> >+ <a href="/cgi-bin/koha/admin/categories.pl?op=delete_confirm&categorycode=[% category.categorycode |uri %]" class="btn btn-mini"><i class="fa fa-trash"></i> Delete</a> >+ </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 16266
:
50250
|
50268
|
50284