From: Nik Okuntseff Date: Sun, 7 Apr 2019 20:03:02 +0000 (+0000) Subject: Work in progress replacing text links with icons. X-Git-Tag: timetracker_1.19-1~112 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=6471018977a3852a0c940ff5703fc075cbae3f64;p=timetracker.git Work in progress replacing text links with icons. --- 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}