X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hb=352243fe0b205fa6371299c47be1bb91a7a377bb;hp=df4782b64954ad735b4886c821eae52036664d39;hpb=c6aa77a9e6299cf3103f97274e573cc9938c1215;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index df4782b6..91c626df 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -21,9 +21,7 @@ {$i18n.label.submitted} {$i18n.label.approved} {$i18n.label.view} -{if $can_edit} {$i18n.label.edit} -{/if} {foreach $active_timesheets as $timesheet} @@ -32,15 +30,13 @@ {$timesheet.client_name|escape} {/if} {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} - {if $timesheet.approval_status == null} + {if $timesheet.approve_status == null} {else} - {if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} + {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} {$i18n.label.view} - {if $can_edit} {$i18n.label.edit} - {/if} {/foreach} @@ -61,9 +57,7 @@ {$i18n.label.submitted} {$i18n.label.approved} {$i18n.label.view} - {if $can_edit} {$i18n.label.edit} - {/if} {foreach $inactive_timesheets as $timesheet} @@ -72,15 +66,13 @@ {$timesheet.client_name|escape} {/if} {if $timesheet.submit_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} - {if $timesheet.approval_status == null} + {if $timesheet.approve_status == null} {else} - {if $timesheet.approval_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} + {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} {$i18n.label.view} - {if $can_edit} {$i18n.label.edit} - {/if} {/foreach}