X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=81ef96b89f2b0efe5a9c488146437710ad8d317a;hb=237f5fae68a9410971ce1c4895a07fe2fa0fbd52;hp=3196721878c16b32a57115e4b3b36a46b2f5b7c9;hpb=4c32352c1c34231ff49937b751c491c4a0880328;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 31967218..81ef96b8 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -5,7 +5,7 @@ + {if $show_files} + + {/if} {if $active_projects} {foreach $active_projects as $project} + {if $show_files && $project.has_files} + + {/if} {/foreach} {/if}
-{if $user->canManageTeam()} +{if $user->can('manage_projects')} {if $inactive_projects} @@ -13,16 +13,26 @@ - - + {if $show_files} + + {/if} + + {if $active_projects} {foreach $active_projects as $project} - - + {if $show_files} + {if $project.has_files} + + {else} + + {/if} + {/if} + + {/foreach} {/if} @@ -42,15 +52,25 @@ - - + {if $show_files} + + {/if} + + {foreach $inactive_projects as $project} - - + {if $show_files} + {if $project.has_files} + + {else} + + {/if} + {/if} + + {/foreach}
{$i18n.form.projects.active_projects}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.edit}{$i18n.label.delete}
{$project.name|escape} {$project.description|escape}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.files}{$i18n.label.files}{$i18n.label.edit}{$i18n.label.delete}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.edit}{$i18n.label.delete}
{$project.name|escape} {$project.description|escape}{$i18n.label.edit}{$i18n.label.delete}{$i18n.label.files}{$i18n.label.files}{$i18n.label.edit}{$i18n.label.delete}
@@ -68,12 +88,18 @@
{$i18n.label.thing_name} {$i18n.label.description}
{$project.name|escape} {$project.description|escape}{$i18n.label.files}