X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=92348e7ab921ed668e952d275ae411b61ce9f0db;hb=67e827dacf08d8a55dff9118c82dd964f5da12c1;hp=0d5eae5809bcd57a5073d316ec05e1ce17a61e84;hpb=0cb4a15ec1079fc325845640357dfc75aba0ae23;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 0d5eae58..92348e7a 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -10,22 +10,26 @@ {if $inactive_projects} {$i18n.form.projects.active_projects} {/if} + {if $active_projects} {$i18n.label.thing_name} {$i18n.label.description} - {if $show_files} + {if $show_files} - {/if} + {/if} - {if $active_projects} {foreach $active_projects as $project} {$project.name|escape} {$project.description|escape} {if $show_files} + {if $project.has_files} {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} {$i18n.label.edit} {$i18n.label.delete} @@ -59,7 +63,11 @@ {$project.name|escape} {$project.description|escape} {if $show_files} + {if $project.has_files} {$i18n.label.files} + {else} + {$i18n.label.files} + {/if} {/if} {$i18n.label.edit} {$i18n.label.delete} @@ -89,7 +97,7 @@ {$project.name|escape} {$project.description|escape} - {if $show_files} + {if $show_files && $project.has_files} {$i18n.label.files} {/if}