X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Freport.tpl;h=0c98951f702d242aa9f8e4a30cebd2effd0680ba;hb=1a6b352052d17eff5027ff20fe4f204f08893ec3;hp=55438428ce93698af079e9ded3a1581b7de3fd3b;hpb=6968ef66a0264c35eff9bdd8ed92af48b34b8d19;p=timetracker.git
diff --git a/WEB-INF/templates/report.tpl b/WEB-INF/templates/report.tpl
index 55438428..0c98951f 100644
--- a/WEB-INF/templates/report.tpl
+++ b/WEB-INF/templates/report.tpl
@@ -62,11 +62,11 @@
{if $cur_grouped_by != $prev_grouped_by && !$first_pass}
{$i18n.label.subtotal}
- {if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()} | {if $group_by == 'user'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$prev_grouped_by]['name']|escape} | {/if}{/if}
+ {if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()}{$subtotals[$prev_grouped_by]['user']|escape} | {/if}
+ {if $bean->getAttribute('chclient')}{$subtotals[$prev_grouped_by]['client']|escape} | {/if}
+ {if $bean->getAttribute('chproject')}{$subtotals[$prev_grouped_by]['project']|escape} | {/if}
+ {if $bean->getAttribute('chtask')}{$subtotals[$prev_grouped_by]['task']|escape} | {/if}
+ {if $bean->getAttribute('chcf_1')}{$subtotals[$prev_grouped_by]['cf_1']|escape} | {/if}
{if $bean->getAttribute('chstart')} | {/if}
{if $bean->getAttribute('chfinish')} | {/if}
{if $bean->getAttribute('chduration')}{$subtotals[$prev_grouped_by]['time']} | {/if}
@@ -114,11 +114,11 @@
{if $print_subtotals}
{$i18n.label.subtotal}
- {if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()} | {if $group_by == 'user'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chclient')}{if $group_by == 'client'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chproject')}{if $group_by == 'project'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chtask')}{if $group_by == 'task'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
- {if $bean->getAttribute('chcf_1')}{if $group_by == 'cf_1'}{$subtotals[$cur_grouped_by]['name']|escape} | {/if}{/if}
+ {if $user->can('view_reports') || $user->can('view_all_reports') || $user->isClient()}{$subtotals[$cur_grouped_by]['user']|escape} | {/if}
+ {if $bean->getAttribute('chclient')}{$subtotals[$cur_grouped_by]['client']|escape} | {/if}
+ {if $bean->getAttribute('chproject')}{$subtotals[$cur_grouped_by]['project']|escape} | {/if}
+ {if $bean->getAttribute('chtask')}{$subtotals[$cur_grouped_by]['task']|escape} | {/if}
+ {if $bean->getAttribute('chcf_1')}{$subtotals[$cur_grouped_by]['cf_1']|escape} | {/if}
{if $bean->getAttribute('chstart')} | {/if}
{if $bean->getAttribute('chfinish')} | {/if}
{if $bean->getAttribute('chduration')}{$subtotals[$cur_grouped_by]['time']} | {/if}