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

-
+
@@ -46,9 +46,9 @@
{$i18n.label.delete}
{$task.name|escape:'html'}{$task.description|escape:'html'}
{$task.name|escape}{$task.description|escape} {$i18n.label.edit} {$i18n.label.delete}

-
+
@@ -71,9 +71,9 @@ {if $active_tasks} {foreach $active_tasks as $task} - - {$task.name|escape:'html'} - {$task.description|escape:'html'} + + {$task.name|escape} + {$task.description|escape} {/foreach} {/if}