X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fmobile%2Fprojects.tpl;h=96d27054fe7469274d7dd99e6a7f824d1bc4ee8b;hb=4334f16faa68ecaec5aceb5c16bb500d62a3688f;hp=45cd184a5131aebd47a3fefaaed73c5e236871dd;hpb=ee49ee74b2a7d3c6daaa2d4bc6397b0c89e3099b;p=timetracker.git diff --git a/WEB-INF/templates/mobile/projects.tpl b/WEB-INF/templates/mobile/projects.tpl index 45cd184a..96d27054 100644 --- a/WEB-INF/templates/mobile/projects.tpl +++ b/WEB-INF/templates/mobile/projects.tpl @@ -5,22 +5,20 @@ - {foreach $inactive_projects as $project} - - - - + + + {/foreach}
-{if $user->canManageTeam()} +{if $user->can('manage_projects')} {if $inactive_projects} {/if} + {if $active_projects} - - {if $active_projects} {foreach $active_projects as $project} - - - - + + + {/foreach} {/if} @@ -29,7 +27,7 @@
{$i18n.form.projects.active_projects}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.edit}
{$project.name|escape:'html'}{$project.description|escape:'html'}{$i18n.label.edit}
{$project.name|escape}{$project.description|escape}

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

-
+
@@ -67,9 +63,9 @@ {if $active_projects} {foreach $active_projects as $project} - - {$project.name|escape:'html'} - {$project.description|escape:'html'} + + {$project.name|escape} + {$project.description|escape} {/foreach} {/if}