From c0ea44b2e8a3fde385982b580a0f924be4b711cf Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sun, 7 Apr 2019 18:30:30 +0000 Subject: [PATCH] Work in progress replacing text links with icons. --- WEB-INF/templates/cf_custom_fields.tpl | 8 ++++---- WEB-INF/templates/cf_dropdown_options.tpl | 10 +++++----- WEB-INF/templates/clients.tpl | 16 ++++++++-------- WEB-INF/templates/footer.tpl | 2 +- 4 files changed, 18 insertions(+), 18 deletions(-) diff --git a/WEB-INF/templates/cf_custom_fields.tpl b/WEB-INF/templates/cf_custom_fields.tpl index 7a1b156b..5d254e9c 100644 --- a/WEB-INF/templates/cf_custom_fields.tpl +++ b/WEB-INF/templates/cf_custom_fields.tpl @@ -8,8 +8,8 @@ {$i18n.label.thing_name} {$i18n.label.type} {$i18n.menu.options} - {$i18n.label.edit} - {$i18n.label.delete} + + {if $custom_fields} {foreach $custom_fields as $field} @@ -22,8 +22,8 @@ {$i18n.label.type_dropdown} {$i18n.label.configure} {/if} - {$i18n.label.edit} - {$i18n.label.delete} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} {/if} diff --git a/WEB-INF/templates/cf_dropdown_options.tpl b/WEB-INF/templates/cf_dropdown_options.tpl index f9dfcd0d..b920d733 100644 --- a/WEB-INF/templates/cf_dropdown_options.tpl +++ b/WEB-INF/templates/cf_dropdown_options.tpl @@ -8,16 +8,16 @@ {if $user->can('manage_custom_fields')} - - - + + + {if $options} {foreach $options as $key=>$val} - - + + {/foreach} {/if} diff --git a/WEB-INF/templates/clients.tpl b/WEB-INF/templates/clients.tpl index a31a8cd0..ca93b92f 100644 --- a/WEB-INF/templates/clients.tpl +++ b/WEB-INF/templates/clients.tpl @@ -13,15 +13,15 @@ - - + + {foreach $active_clients as $client} - - + + {/foreach}
{$i18n.label.thing_name}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.thing_name}
{$val|escape}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}
{$i18n.label.person_name} {$i18n.label.address}{$i18n.label.edit}{$i18n.label.delete}
{$client.name|escape} {$client.address|escape}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.edit}{$i18n.label.delete}
@@ -36,15 +36,15 @@ {$i18n.label.person_name} {$i18n.label.address} - {$i18n.label.edit} - {$i18n.label.delete} + + {foreach $inactive_clients as $client} {$client.name|escape} {$client.address|escape} - {$i18n.label.edit} - {$i18n.label.delete} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index ce56e43e..83b05f0a 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.64.4921 | Copyright © Anuko | +  Anuko Time Tracker 1.18.64.4922 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1