X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=templates%2Fwebpages%2Ffile%2Flist.html;fp=templates%2Fwebpages%2Ffile%2Flist.html;h=2868d4f472be6b5569511cfe39a08e112b7cc812;hp=315e886d20cdddf7db85a0e5e43645875ea4927d;hb=b293ff8ad52fc76ba0c44783e3982418114d6b08;hpb=d4925a8b60f04674885e30d9316dc0263f8b9a84 diff --git a/templates/webpages/file/list.html b/templates/webpages/file/list.html index 315e886d2..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 %]