X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/timetracker.git/blobdiff_plain/26dd5629ee5f2c3de36ff44e65529e4ca491cab1..cf018545bf61420782271261bdea7d2c3dd235a0:/WEB-INF/templates/project_files.tpl diff --git a/WEB-INF/templates/project_files.tpl b/WEB-INF/templates/project_files.tpl index 0313e030..a542c6bb 100644 --- a/WEB-INF/templates/project_files.tpl +++ b/WEB-INF/templates/project_files.tpl @@ -1,102 +1,47 @@ - - + +
-{if $user->can('manage_projects')} - {if $inactive_projects} - - {/if} - - - - {if $show_files} - - {/if} - - - - {if $active_projects} - {foreach $active_projects as $project} - - - - {if $show_files} - - {/if} - - - - {/foreach} - {/if} -
{$i18n.form.projects.active_projects}
{$i18n.label.image}{$i18n.label.description}{$i18n.label.files}{$i18n.label.edit}{$i18n.label.delete}
{$project.name|escape}{$project.description|escape}{$i18n.label.view}{$i18n.label.edit}{$i18n.label.delete}
- - - - - -

-
-
- - {if $inactive_projects} - - - {if $show_files} - - {/if} +{if $can_manage} +{/if} - {foreach $inactive_projects as $project} +{if $files} + {foreach $files as $file} - - - {if $show_files} - - {/if} - - + + + {if $can_manage} + + + {/if} - {/foreach} + {/foreach} +{/if}
{$i18n.form.projects.inactive_projects}
{$i18n.label.thing_name} {$i18n.label.description}{$i18n.label.files}{$i18n.label.edit} {$i18n.label.delete}
{$project.name|escape}{$project.description|escape}{$i18n.label.view}{$i18n.label.edit}{$i18n.label.delete}{$file.name|escape}{$file.description|escape}{$i18n.label.edit}{$i18n.label.delete}
+
- - - - -

-
-
- {/if} -{else} - +{if $can_manage} +{$forms.fileUploadForm.open} +
+ +
+ - - - {if $show_files} - - {/if} + + + - {if $active_projects} - {foreach $active_projects as $project} - - - - {if $show_files} - - {/if} - - {/foreach} - {/if} +
{$i18n.label.thing_name}{$i18n.label.description}{$i18n.label.files}{$i18n.label.description}:{$forms.fileUploadForm.description.control}{$forms.fileUploadForm.newfile.control}
{$project.name|escape}{$project.description|escape}{$i18n.label.view}
{$forms.fileUploadForm.btn_submit.control}
-{/if}
+{$forms.fileUploadForm.close} +{/if}