X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=0b400b119ff5a8418ed6971c84ff1739789d48fb;hb=69d107963f15b0fcfc46908063c0ae7c33af7d80;hp=8862d6a12eb4b4aea2791b76090065887bd6786f;hpb=9a23a8c0a51b7ec38a96f525484134f3cb85dc7e;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 8862d6a1..0b400b11 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -5,7 +5,7 @@ + {if $show_files} + + {/if} {foreach $inactive_projects as $project} - - - + + + + {if $show_files} + + {/if} @@ -58,7 +70,7 @@
-{if $user->canManageTeam()} +{if $user->can('manage_projects')} {if $inactive_projects} @@ -13,14 +13,20 @@ + {if $show_files} + + {/if} {if $active_projects} {foreach $active_projects as $project} - - - + + + + {if $show_files} + + {/if} @@ -31,7 +37,7 @@
{$i18n.form.projects.active_projects}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}
{$project.name|escape:'html'}{$project.description|escape:'html'}
{$project.name|escape}{$project.description|escape}{$i18n.label.view}{$i18n.label.edit} {$i18n.label.delete}

-
+
@@ -42,13 +48,19 @@
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}
{$project.name|escape:'html'}{$project.description|escape:'html'}
{$project.name|escape}{$project.description|escape}{$i18n.label.view}{$i18n.label.edit} {$i18n.label.delete}

-
+
@@ -68,12 +80,18 @@ {$i18n.label.thing_name} {$i18n.label.description} + {if $show_files} + {$i18n.label.files} + {/if} {if $active_projects} {foreach $active_projects as $project} - - {$project.name|escape:'html'} - {$project.description|escape:'html'} + + {$project.name|escape} + {$project.description|escape} + {if $show_files} + {$i18n.label.view} + {/if} {/foreach} {/if} @@ -81,4 +99,4 @@ {/if} - \ No newline at end of file +