X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=e21a8f223854c91a38650eca4e0119e7fa91b952;hb=2303d22b8916c5e9aef58f5350967f31b8313b74;hp=09966a843690a63920f6030b282aa5483ce9d00e;hpb=05cc6905eba759b924e2dc4efc884a930711f928;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 09966a84..e21a8f22 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -6,16 +6,6 @@ {if $user->can('manage_projects')} - {if $group_dropdown} -{$forms.projectsForm.open} {* projectsForm consists only of one dropdown group control *} - - - - -
{$i18n.label.group}: {$forms.projectsForm.group.control}
-{$forms.projectsForm.close} - {/if} - {if $inactive_projects} @@ -23,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} @@ -52,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}
@@ -78,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} + {$i18n.label.files} + {/if} {/foreach} {/if}