X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Freports.tpl;h=2ee48b01d8698bf32c451c771159e06c7e63a163;hb=de05f61301a897661c702f03c1b45dd3ab5c0e8a;hp=88511512f9ca3b6e600a415ae74ff95d35f1d956;hpb=e29c21af272eaff37daaa820b487898445ffe652;p=timetracker.git diff --git a/WEB-INF/templates/reports.tpl b/WEB-INF/templates/reports.tpl index 88511512..2ee48b01 100644 --- a/WEB-INF/templates/reports.tpl +++ b/WEB-INF/templates/reports.tpl @@ -244,7 +244,7 @@ function handleCheckboxes() { -{if $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')} +{if $user->canManageTeam() || $user->isPluginEnabled('cl') || $user->isPluginEnabled('iv') || $user->isPluginEnabled('ps')} {if $user->isPluginEnabled('cl')} @@ -254,6 +254,9 @@ function handleCheckboxes() { {/if} {if ($user->canManageTeam() && $user->isPluginEnabled('ps'))} + {/if} + {if $user->canManageTeam()} + {/if} {/if} @@ -261,7 +264,7 @@ function handleCheckboxes() { -{if ((($user->canManageTeam() || $user->isClient()) || $user->isPluginEnabled('ex')) && defined('COST_ON_REPORTS') && isTrue($smarty.const.COST_ON_REPORTS))} +{if (($user->canManageTeam() || $user->isClient()) || $user->isPluginEnabled('ex'))} {else}
{if ($smarty.const.MODE_PROJECTS == $user->tracking_mode || $smarty.const.MODE_PROJECTS_AND_TASKS == $user->tracking_mode)}{/if} {if (($smarty.const.TYPE_START_FINISH == $user->record_type) || ($smarty.const.TYPE_ALL == $user->record_type))}{/if}