X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Ftasks.tpl;h=3fbee1f7dd4f304246099c7a1d61ffc4c07c7b30;hb=abfd3bbc6a72c55b30d48466b2719804ebee6733;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 @@
-{if $user->canManageTeam()}
+{if $user->can('manage_tasks')}
{$i18n.label.description} |
{foreach $inactive_tasks as $task}
- {$task.name|escape:'html'} |
- {$task.description|escape:'html'} |
+ {$task.name|escape} |
+ {$task.description|escape} |
| |||||||
{$task.name|escape:'html'} | -{$task.description|escape:'html'} | +|||||||||||
{$task.name|escape} | +{$task.description|escape} |