X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=templates%2Fwebpages%2Ffile%2Flist.html;h=2868d4f472be6b5569511cfe39a08e112b7cc812;hb=HEAD;hp=1bcf073a6c2c6023b6b8b4ae8b14ca7a51ba50ee;hpb=2370c9a551d71745ef24ec8cb788fd4515303b5b;p=kivitendo-erp.git diff --git a/templates/webpages/file/list.html b/templates/webpages/file/list.html index 1bcf073a6..2868d4f47 100644 --- a/templates/webpages/file/list.html +++ b/templates/webpages/file/list.html @@ -12,7 +12,7 @@ [%- FOREACH source = SOURCES %] - + [%- SET checkname = source.chk_action %] [%- IF is_global %] @@ -29,6 +29,7 @@ [%- END %] + [%- IF file_type == 'image' %] @@ -45,12 +46,24 @@ [%- FOREACH file = source.files %] - + [%- is_other_version = 1 IF last_id == file.id %] + [%- last_id = file.id %] + [%- IF !is_other_version %] + [%- row_cnt = row_cnt + 1 %] + + [%- ELSE %] + + [%- END %] [%- IF edit_attachments %] [%- END %] - + +
[% source.title %]
[% source.title %]
[% L.checkbox_tag(checkname _ '_checkall') %] [% source.chkall_title %][% LxERP.t8('Version') %] [% LxERP.t8('Date') %] [% source.file_title %]