X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=WEB-INF%2Ftemplates%2Fprojects.tpl;h=92348e7ab921ed668e952d275ae411b61ce9f0db;hb=cdd27c2b163122cb6e2169851019721b3382abd7;hp=09966a843690a63920f6030b282aa5483ce9d00e;hpb=05cc6905eba759b924e2dc4efc884a930711f928;p=timetracker.git diff --git a/WEB-INF/templates/projects.tpl b/WEB-INF/templates/projects.tpl index 09966a84..92348e7a 100644 --- a/WEB-INF/templates/projects.tpl +++ b/WEB-INF/templates/projects.tpl @@ -6,33 +6,33 @@ {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} {/if} + {if $active_projects} - - + {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 && $project.has_files} + {$i18n.label.files} + {/if} {/foreach} {/if}