X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Ftimesheets.tpl;h=a5e893e59a4994c95323c833827cdd999aa33b25;hb=b53f880dcd61797fd2e6609477add03ca757d813;hp=91c626df0def9c99e4cbecbcddf1c7b8265828a0;hpb=9f37cea35130359a3fe915c63a59cbfcdc75663f;p=timetracker.git diff --git a/WEB-INF/templates/timesheets.tpl b/WEB-INF/templates/timesheets.tpl index 91c626df..a5e893e5 100644 --- a/WEB-INF/templates/timesheets.tpl +++ b/WEB-INF/templates/timesheets.tpl @@ -20,12 +20,15 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} - {$i18n.label.edit} +{if $show_files} + +{/if} + + {foreach $active_timesheets as $timesheet} - {$timesheet.name|escape} + {$timesheet.name|escape} {if $show_client} {$timesheet.client_name|escape} {/if} @@ -35,8 +38,15 @@ {else} {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} - {$i18n.label.view} - {$i18n.label.edit} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} @@ -56,12 +66,15 @@ {/if} {$i18n.label.submitted} {$i18n.label.approved} - {$i18n.label.view} - {$i18n.label.edit} + {if $show_files} + + {/if} + + {foreach $inactive_timesheets as $timesheet} - {$timesheet.name|escape} + {$timesheet.name|escape} {if $show_client} {$timesheet.client_name|escape} {/if} @@ -71,8 +84,15 @@ {else} {if $timesheet.approve_status}{$i18n.label.yes}{else}{$i18n.label.no}{/if} {/if} - {$i18n.label.view} - {$i18n.label.edit} + {if $show_files} + {if $timesheet.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach}