Bugzilla – Attachment 65028 Details for
Bug 18917
Use font awesome buttons in CSV profiles
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18917: Use font-awesome buttons for CSV profiles
Bug-18917-Use-font-awesome-buttons-for-CSV-profile.patch (text/plain), 2.50 KB, created by
Jonathan Druart
on 2017-07-13 19:43:44 UTC
(
hide
)
Description:
Bug 18917: Use font-awesome buttons for CSV profiles
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-07-13 19:43:44 UTC
Size:
2.50 KB
patch
obsolete
>From 58f9eded86c01d2889ed5a25551aba30c9b824a8 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 10 Jul 2017 02:12:18 +0000 >Subject: [PATCH] Bug 18917: Use font-awesome buttons for CSV profiles > >To test: >1) Go to Tools -> CSV profiles >2) Notice old style of links for Edit and Delete >3) Apply patch and refresh page >4) Notice buttons for Edit and Delete >5) Confirm they work as expected > >Sponsored-by: Catalyst IT > >Signed-off-by: Lee Jamison <ldjamison@marywood.edu> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >index cd5c78a21a..40f64f51c3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt >@@ -273,8 +273,7 @@ function reloadPage(p) { > <th>CSV separator</th> > <th>CSV type</th> > <th>Usage</th> >- <th> </th> >- <th> </th> >+ <th>Actions</th> > </thead> > <tbody> > [% FOREACH csv_profile IN csv_profiles %] >@@ -286,8 +285,10 @@ function reloadPage(p) { > <td>[% csv_profile.csv_separator %]</td> > <td>[% PROCESS type_description type_code = csv_profile.type %]</td> > <td>[% PROCESS used_for_description used_for_code = csv_profile.used_for %]</td> >- <td><a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&export_format_id=[% csv_profile.export_format_id %]">Edit</a></td> >- <td><a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&export_format_id=[% csv_profile.export_format_id %]">Delete</a></td> >+ <td class="actions"> >+ <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=add_form&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-pencil"></i> Edit</a> >+ <a href="/cgi-bin/koha/tools/csv-profiles.pl?op=delete_confirm&export_format_id=[% csv_profile.export_format_id %]" class="btn btn-default btn-xs"><i class="fa fa-trash"></i> Delete</a> >+ </td> > </tr> > [% END %] > </tbody> >-- >2.11.0
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 18917
:
64944
|
64963
| 65028