X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fweek.tpl;h=b120c49b4fd316bbdcb82db7a8b604c0b7efdda8;hb=9df2c85d1cd3337978dcb72d5f12c602f2588cb7;hp=fff4bfa4b405c32191534c477ed397d9f01d2869;hpb=8ecf916786c15d7bbe18bbb512b183c622be0bb4;p=timetracker.git diff --git a/WEB-INF/templates/week.tpl b/WEB-INF/templates/week.tpl index fff4bfa4..b120c49b 100644 --- a/WEB-INF/templates/week.tpl +++ b/WEB-INF/templates/week.tpl @@ -37,14 +37,14 @@
-{if $time_records} +{if $grouped_records} - {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {if ($user->isPluginEnabled('cl') || ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode))} + {/if} - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {if ($user->isPluginEnabled('cf') || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {/if} @@ -54,18 +54,38 @@ - {foreach $time_records as $record} + {foreach $grouped_records as $record} - {if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {if ($user->isPluginEnabled('cl') || ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode))} + {/if} - {if ($smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} - + {if ($user->isPluginEnabled('cf') || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + {/if} - - + + + + + + + {/foreach} + + {if ($user->isPluginEnabled('cl') || ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode))} + + {/if} + {if ($user->isPluginEnabled('cf') || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)} + + {/if} + + + + + + + +
{$i18n.label.project}{$i18n.label.task}{$day_header_0} {$day_header_1}{$day_header_5} {$day_header_6}
{$record.project|escape}{$record.project|escape}

{$record.client|escape}

{$record.task|escape}{$record.task|escape}

{$record.cf_1_value|escape}

{$record.date}{if ($record.duration == '0:00' && $record.start <> '')}{$i18n.form.time.uncompleted}{else}{$record.duration}{/if}{$record.$date_0.duration}{$record.$date_1.duration}{$record.$date_2.duration}{$record.$date_3.duration}{$record.$date_4.duration}{$record.$date_5.duration}{$record.$date_6.duration}
{$grouped_records_totals.$date_0}{$grouped_records_totals.$date_1}{$grouped_records_totals.$date_2}{$grouped_records_totals.$date_3}{$grouped_records_totals.$date_4}{$grouped_records_totals.$date_5}{$grouped_records_totals.$date_6}
{/if}