X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=92348e7ab921ed668e952d275ae411b61ce9f0db;hb=8dade986970598d2c58e2484342e413bf30be4db;hp=589993652b3eaecf25e93be317329cce3a8b2647;hpb=337ae7c9f4cf2cabcbf20f6844a6e71562263500;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 58999365..92348e7a 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -10,19 +10,29 @@ {if $inactive_projects} {$i18n.form.projects.active_projects} {/if} + {if $active_projects} {$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}