From 6471018977a3852a0c940ff5703fc075cbae3f64 Mon Sep 17 00:00:00 2001 From: Nik Okuntseff Date: Sun, 7 Apr 2019 20:03:02 +0000 Subject: [PATCH] Work in progress replacing text links with icons. --- WEB-INF/templates/expenses.tpl | 14 +++++++++++--- WEB-INF/templates/footer.tpl | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/WEB-INF/templates/expenses.tpl b/WEB-INF/templates/expenses.tpl index 11b4fb85..df0eb4d1 100644 --- a/WEB-INF/templates/expenses.tpl +++ b/WEB-INF/templates/expenses.tpl @@ -176,14 +176,15 @@ function recalculateCost() { {if $user->isPluginEnabled('cl')} - + {/if} {if $show_project} {/if} - + + {foreach $expense_items as $item} @@ -199,7 +200,14 @@ function recalculateCost() { {if $item.approved || $item.invoice_id}   {else} - {$i18n.label.edit} + {$i18n.label.edit} + {/if} + + diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 83b05f0a..4bea5d52 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
{$i18n.label.client}{$i18n.label.client}{$i18n.label.project}{$i18n.label.item} {$i18n.label.cost}{$i18n.label.edit}
+ {if $item.approved || $item.invoice_id} +   + {else} + {$i18n.label.delete} {/if}
-
 Anuko Time Tracker 1.18.64.4922 | Copyright © Anuko | +  Anuko Time Tracker 1.18.64.4923 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} -- 2.20.1