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