X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftasks.tpl;h=3fbee1f7dd4f304246099c7a1d61ffc4c07c7b30;hb=1e825770a4defc5eb8d2032c35dc90e8bc8684da;hp=0a521073a21ac52ac185f31550a09facbf94f303;hpb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;p=timetracker.git diff --git a/WEB-INF/templates/mobile/tasks.tpl b/WEB-INF/templates/mobile/tasks.tpl index 0a521073..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} @@ -13,14 +13,12 @@ - {if $active_tasks} {foreach $active_tasks as $task} - - - - + + + {/foreach} {/if} @@ -29,7 +27,7 @@
{$i18n.form.tasks.active_tasks}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.edit}
{$task.name|escape:'html'}{$task.description|escape:'html'}{$i18n.label.edit}
{$task.name|escape}{$task.description|escape}

-
+
@@ -40,13 +38,11 @@
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.edit}
{$task.name|escape:'html'}{$task.description|escape:'html'}{$i18n.label.edit}
{$task.name|escape}{$task.description|escape}
@@ -54,7 +50,7 @@

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