Bug 16541 - Make edit and delete links styled buttons in cities administration
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. Signed-off-by: rainer <archiv@a-bibliothek.org> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> (cherry picked from commit51a11d2794) Signed-off-by: Frédéric Demians <f.demians@tamil.fr> (cherry picked from commitef948191c6) Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
This commit is contained in:
parent
2d3af770db
commit
500ab63cb7
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue