X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=b53f880dcd61797fd2e6609477add03ca757d813;hp=fd26588d78b8650ab568f323724242f4b21ea1c6;hpb=920b5bff2bf2fb1caa10715ed8d40175e4798019;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index fd26588d..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -20,6 +20,9 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} +{if $show_files} + +{/if} @@ -34,6 +37,13 @@ {else} {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} + {/if} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} {$i18n.label.edit} {$i18n.label.delete} @@ -56,13 +66,15 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} + {if $show_files} + + {/if} {foreach $inactive_timesheets as $timesheet} - {$timesheet.name|escape} + {$timesheet.name|escape} {if $show_client} {$timesheet.client_name|escape} {/if} @@ -72,7 +84,13 @@ {else} {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} - {$i18n.label.view} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} {$i18n.label.edit} {$i18n.label.delete}