Replaced some more text links with icons.
authorNik Okuntseff <support@anuko.com>
Sun, 7 Apr 2019 20:32:18 +0000 (20:32 +0000)
committerNik Okuntseff <support@anuko.com>
Sun, 7 Apr 2019 20:32:18 +0000 (20:32 +0000)
WEB-INF/templates/footer.tpl
WEB-INF/templates/predefined_expenses.tpl
WEB-INF/templates/roles.tpl

index ad1e463..fc3d4b6 100644 (file)
@@ -12,7 +12,7 @@
       <br>
       <table cellspacing="0" cellpadding="4" width="100%" border="0">
         <tr>
-          <td align="center">&nbsp;Anuko Time Tracker 1.18.64.4924 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
+          <td align="center">&nbsp;Anuko Time Tracker 1.18.64.4925 | Copyright &copy; <a href="https://www.anuko.com/lp/tt_3.htm" target="_blank">Anuko</a> |
             <a href="https://www.anuko.com/lp/tt_4.htm" target="_blank">{$i18n.footer.credits}</a> |
             <a href="https://www.anuko.com/lp/tt_5.htm" target="_blank">{$i18n.footer.license}</a> |
             <a href="https://www.anuko.com/lp/tt_7.htm" target="_blank">{$i18n.footer.improve}</a>
index 9c8625c..4f138be 100644 (file)
@@ -6,16 +6,16 @@
         <tr>
           <td class="tableHeader">{$i18n.label.thing_name}</td>
           <td class="tableHeader">{$i18n.label.cost}</td>
-          <td class="tableHeader">{$i18n.label.edit}</td>
-          <td class="tableHeader">{$i18n.label.delete}</td>
+          <td></td>
+          <td></td>
         </tr>
   {if $predefined_expenses}
     {foreach $predefined_expenses as $predefined_expense}
         <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
           <td>{$predefined_expense['name']|escape}</td>
           <td>{$predefined_expense['cost']|escape}</td>
-          <td><a href="predefined_expense_edit.php?id={$predefined_expense['id']}">{$i18n.label.edit}</a></td>
-          <td><a href="predefined_expense_delete.php?id={$predefined_expense['id']}">{$i18n.label.delete}</a></td>
+          <td><a href="predefined_expense_edit.php?id={$predefined_expense['id']}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+          <td><a href="predefined_expense_delete.php?id={$predefined_expense['id']}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
         </tr>
     {/foreach}
   {/if}
index ba3328c..85efc66 100644 (file)
@@ -13,8 +13,8 @@
           <td width="25%" class="tableHeader">{$i18n.label.thing_name}</td>
           <td class="tableHeader">{$i18n.form.roles.rank}</td>
           <td width="35%" class="tableHeader">{$i18n.label.description}</td>
-          <td class="tableHeader">{$i18n.label.edit}</td>
-          <td class="tableHeader">{$i18n.label.delete}</td>
+          <td></td>
+          <td></td>
         </tr>
   {if $active_roles}
     {foreach $active_roles as $role}
@@ -22,8 +22,8 @@
           <td>{$role.name|escape}</td>
           <td>{$role.rank}</td>
           <td>{$role.description|escape}</td>
-          <td><a href="role_edit.php?id={$role.id}">{$i18n.label.edit}</a></td>
-          <td><a href="role_delete.php?id={$role.id}">{$i18n.label.delete}</a></td>
+          <td><a href="role_edit.php?id={$role.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+          <td><a href="role_delete.php?id={$role.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
         </tr>
     {/foreach}
   {/if}
           <td width="25%" class="tableHeader">{$i18n.label.thing_name}</td>
           <td class="tableHeader">{$i18n.form.roles.rank}</td>
           <td width="35%" class="tableHeader">{$i18n.label.description}</td>
-          <td class="tableHeader">{$i18n.label.edit}</td>
-          <td class="tableHeader">{$i18n.label.delete}</td>
+          <td></td>
+          <td></td>
         </tr>
     {foreach $inactive_roles as $role}
         <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
           <td>{$role.name|escape}</td>
           <td>{$role.rank}</td>
           <td>{$role.description|escape}</td>
-          <td><a href="role_edit.php?id={$role.id}">{$i18n.label.edit}</a></td>
-          <td><a href="role_delete.php?id={$role.id}">{$i18n.label.delete}</a></td>
+          <td><a href="role_edit.php?id={$role.id}"><img class="table_icon" alt="{$i18n.label.edit}" src="images/icon_edit.png"></a></td>
+          <td><a href="role_delete.php?id={$role.id}"><img class="table_icon" alt="{$i18n.label.delete}" src="images/icon_delete.png"></a></td>
         </tr>
     {/foreach}
       </table>