X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftasks.tpl;h=3fbee1f7dd4f304246099c7a1d61ffc4c07c7b30;hb=c14bc01ae221ece2c5b78c9c39b4902cb25154d6;hp=c877e98947a88964febc6cf1e0d193d9a1a842c7;hpb=09bd3c14ba08e57c46fb53c66e9053d248682c06;p=timetracker.git diff --git a/WEB-INF/templates/mobile/tasks.tpl b/WEB-INF/templates/mobile/tasks.tpl index c877e989..3fbee1f7 100644 --- a/WEB-INF/templates/mobile/tasks.tpl +++ b/WEB-INF/templates/mobile/tasks.tpl @@ -5,7 +5,7 @@ {foreach $inactive_tasks as $task} - - - + + + {/foreach}
-{if $user->canManageTeam()} +{if $user->can('manage_tasks')} {if $inactive_tasks} @@ -16,9 +16,9 @@ {if $active_tasks} {foreach $active_tasks as $task} - - - + + + {/foreach} {/if} @@ -27,7 +27,7 @@
{$i18n.form.tasks.active_tasks}
{$task.name|escape:'html'}{$task.description|escape:'html'}
{$task.name|escape}{$task.description|escape}

-
+
@@ -40,9 +40,9 @@
{$i18n.label.description}
{$task.name|escape:'html'}{$task.description|escape:'html'}
{$task.name|escape}{$task.description|escape}
@@ -50,7 +50,7 @@

-
+
@@ -63,9 +63,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}