X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=inline;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=81ef96b89f2b0efe5a9c488146437710ad8d317a;hb=13cfff28242767287408e8fd13d992bc6c6e2086;hp=589993652b3eaecf25e93be317329cce3a8b2647;hpb=2df50105b46a5cbd6493271b137a136ccfe2ea5a;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 58999365..81ef96b8 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -13,16 +13,26 @@ {$i18n.label.thing_name} {$i18n.label.description} - {$i18n.label.edit} - {$i18n.label.delete} + {if $show_files} + + {/if} + + {if $active_projects} {foreach $active_projects as $project} {$project.name|escape} {$project.description|escape} - {$i18n.label.edit} - {$i18n.label.delete} + {if $show_files} + {if $project.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} {/if} @@ -42,15 +52,25 @@ {$i18n.label.thing_name} {$i18n.label.description} - {$i18n.label.edit} - {$i18n.label.delete} + {if $show_files} + + {/if} + + {foreach $inactive_projects as $project} {$project.name|escape} {$project.description|escape} - {$i18n.label.edit} - {$i18n.label.delete} + {if $show_files} + {if $project.has_files} + {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} + {/if} + {$i18n.label.edit} + {$i18n.label.delete} {/foreach} @@ -68,12 +88,18 @@ {$i18n.label.thing_name} {$i18n.label.description} + {if $show_files} + + {/if} {if $active_projects} {foreach $active_projects as $project} {$project.name|escape} {$project.description|escape} + {if $show_files && $project.has_files} + {$i18n.label.files} + {/if} {/foreach} {/if}