X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=13cfff28242767287408e8fd13d992bc6c6e2086;hp=c38e2d442cc7ca14cbe12537babdf58525ab148b;hpb=3c96bcaf6046242b9af54af454e2782ece8baa66;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index c38e2d44..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -20,13 +20,15 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} +{if $show_files} + +{/if} {foreach $active_timesheets as $timesheet} - {$timesheet.name|escape} + {$timesheet.name|escape} {if $show_client} {$timesheet.client_name|escape} {/if} @@ -36,7 +38,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} @@ -58,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} @@ -74,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}