Bugzilla – Attachment 51790 Details for
Bug 16541
Make edit and delete links styled buttons in cities administration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16541 - Make edit and delete links styled buttons in cities administration
Bug-16541---Make-edit-and-delete-links-styled-butt.patch (text/plain), 2.15 KB, created by
Owen Leonard
on 2016-05-25 14:57:50 UTC
(
hide
)
Description:
Bug 16541 - Make edit and delete links styled buttons in cities administration
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2016-05-25 14:57:50 UTC
Size:
2.15 KB
patch
obsolete
>From 6e37845d5ad15041f0dc35a23b1488566a49ab4f Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Wed, 25 May 2016 10:56:13 -0400 >Subject: [PATCH] Bug 16541 - Make edit and delete links styled buttons in > cities administration >Content-Type: text/plain; charset="utf-8" > >This patch modifies the cities administration page, converting edit and >delete links to Bootstrap buttons with Font Awesome icons. > >To test, apply the patch and go to Administration -> Cities and towns. >The 'Edit' and 'Delete' buttons should look correct and work correctly. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt | 9 +++++---- > 1 file changed, 5 insertions(+), 4 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >index f6a85ea..58321ff 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt >@@ -154,8 +154,7 @@ > <th>State</th> > <th>ZIP/Postal code</th> > <th>Country</th> >- <th> </th> >- <th> </th> >+ <th>Actions</th> > </thead> > <tbody> > [% FOREACH city IN cities %] >@@ -165,8 +164,10 @@ > <td>[% city.city_state %]</td> > <td>[% city.city_zipcode %]</td> > <td>[% city.city_country %]</td> >- <td><a href="/cgi-bin/koha/admin/cities.pl?op=add_form&cityid=[% city.cityid %]">Edit</a></td> >- <td><a href="/cgi-bin/koha/admin/cities.pl?op=delete_confirm&cityid=[% city.cityid %]">Delete</a></td> >+ <td class="actions"> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/cities.pl?op=add_form&cityid=[% city.cityid %]"><i class="fa fa-pencil"></i> Edit</a> >+ <a class="btn btn-mini" href="/cgi-bin/koha/admin/cities.pl?op=delete_confirm&cityid=[% city.cityid %]"><i class="fa fa-trash"></i> Delete</a> >+ </td> > </tr> > [% END %] > </tbody> >-- >2.1.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 16541
:
51790
|
51884
|
52282