[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Administration › [% IF op =='add_form' %]Cities › [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities › Confirm deletion of city[% ELSE %] Cities[% END %][% END %]</title>
[% INCLUDE 'doc-head-close.inc' %]
-<link rel="stylesheet" type="text/css" href="[% themelang %]/css/datatables.css" />
+<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables.css" />
[% INCLUDE 'datatables.inc' %]
<script type="text/javascript">
//<![CDATA[
<input type="text" name="city_state" id="city_state" size="80" maxlength="100" value="[% city.city_state |html %]" />
</li>
<li>
- <label for="city_zipcode" class="required">Zip/Postal code: </label>
+ <label for="city_zipcode" class="required">ZIP/Postal code: </label>
<input type="text" name="city_zipcode" id="city_zipcode" size="20" maxlength="20" value="[% city.city_zipcode %]" required="required" class="required" /> <span class="required">Required</span>
</li>
<li>
[% IF op == 'delete_confirm' %]
<div class="dialog alert">
- <h3>Delete City "[% city.city_name %]?"</h3>
+ <h3>Delete city "[% city.city_name %]?"</h3>
<table>
<tr><th>City id</th>
<td>[% city.cityid %]</td>
<tr><th>State</th>
<td>[% city.city_state %]</td>
</tr>
- <tr><th>Zip/Postal code</th>
+ <tr><th>ZIP/Postal code</th>
<td>[% city.city_zipcode %]</td>
</tr>
<tr><th>Country</th>
<form action="/cgi-bin/koha/admin/cities.pl" method="post">
<input type="hidden" name="op" value="delete_confirmed" />
<input type="hidden" name="cityid" value="[% city.cityid %]" />
- <input type="submit" class="approve" value="Yes, delete" />
+ <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
</form>
<form action="/cgi-bin/koha/admin/cities.pl" method="get">
- <input type="submit" class="deny" value="No, do not Delete" />
+ <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
</form>
</div>
[% END %]
Searching: [% searchfield %]
[% END %]
- [% IF cities %]
+ [% IF cities.count %]
<table id="table_cities">
<thead>
<th>City ID</th>
<th>City</th>
<th>State</th>
- <th>Zip/Postal code</th>
+ <th>ZIP/Postal code</th>
<th>Country</th>
<th> </th>
<th> </th>
</tbody>
</table>
[% ELSE %]
- There is no city defined. <a href="/cgi-bin/koha/admin/cities.pl?op=add_form">Create a new city</a>.
+ <div class="dialog message">
+ There are no cities defined. <a href="/cgi-bin/koha/admin/cities.pl?op=add_form">Create a new city</a>.
+ </div>
[% END %]
[% END %]