Bug 16308 - Remove the use of "onclick" from Z39.50/SRU servers template
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / cities.tt
index a526209..f6a85ea 100644 (file)
@@ -1,7 +1,7 @@
 [% INCLUDE 'doc-head-open.inc' %]
 <title>Koha &rsaquo; Administration &rsaquo; [% IF op =='add_form' %]Cities &rsaquo; [% IF city.cityid %] Modify city[% ELSE %] New city[% END %][% ELSE %][% IF op == 'delete_confirm' %]Cities &rsaquo; 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[
         [% CASE 'error_on_update' %]
             An error occurred when updating this city. Perhaps it already exists.
         [% CASE 'error_on_insert' %]
-            An error occurred when inserting this city. The city id might already exist.
+            An error occurred when adding this city. The city id might already exist.
         [% CASE 'error_on_delete' %]
             An error occurred when deleting this city. Check the logs.
         [% CASE 'success_on_update' %]
             City updated successfully.
         [% CASE 'success_on_insert' %]
-            City inserted successfully.
+            City added successfully.
         [% CASE 'success_on_delete' %]
             City deleted successfully.
         [% CASE 'already_exists' %]
@@ -87,7 +87,7 @@
                     <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 %]
 [% IF op == 'list' %]
 
     <div id="toolbar" class="btn-toolbar">
-        <a class="btn btn-small" id="newcity" href="/cgi-bin/koha/admin/cities.pl?op=add_form"><i class="icon-plus"></i> New city</a>
+        <a class="btn btn-small" id="newcity" href="/cgi-bin/koha/admin/cities.pl?op=add_form"><i class="fa fa-plus"></i> New city</a>
     </div>
 
     <h2>Cities</h2>
                 <th>City ID</th>
                 <th>City</th>
                 <th>State</th>
-                <th>Zip/Postal code</th>
+                <th>ZIP/Postal code</th>
                 <th>Country</th>
                 <th>&nbsp;</th>
                 <th>&nbsp;</th>