X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Ftasks.tpl;h=647a6a787e594c9839b3dfecdee06dab1c004eef;hb=9e55571e568f9653c94860ab308cd781e20d13eb;hp=c7f10aad955e368e73ddbc4424872a1940add24e;hpb=ee8595ec3e5b9da7860a139bf3e94149ee794c92;p=timetracker.git
diff --git a/WEB-INF/templates/tasks.tpl b/WEB-INF/templates/tasks.tpl
index c7f10aad..647a6a78 100644
--- a/WEB-INF/templates/tasks.tpl
+++ b/WEB-INF/templates/tasks.tpl
@@ -5,7 +5,7 @@
-{if $user->canManageTeam()}
+{if $user->can('manage_tasks')}
{if $inactive_tasks}
@@ -31,7 +31,7 @@
@@ -46,7 +46,7 @@
{foreach $inactive_tasks as $task}
-
+
{$task.name|escape} |
{$task.description|escape} |
{$i18n.label.edit} |
@@ -58,7 +58,7 @@
|