mirror of
https://github.com/wekan/wekan.git
synced 2025-12-24 03:10:12 +01:00
parent
5e8669be4e
commit
7a3c340d65
1 changed files with 3 additions and 1 deletions
|
|
@ -42,7 +42,9 @@ template(name="attachmentsGalery")
|
||||||
.attachment-item
|
.attachment-item
|
||||||
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{sanitize name}}")
|
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{sanitize name}}")
|
||||||
if link
|
if link
|
||||||
if isImage
|
if($eq extension 'svg')
|
||||||
|
img.attachment-thumbnail-img(src="{{link}}" title="{{sanitize name}}" type="image/svg+xml")
|
||||||
|
else if isImage
|
||||||
img.attachment-thumbnail-img(src="{{link}}" title="{{sanitize name}}")
|
img.attachment-thumbnail-img(src="{{link}}" title="{{sanitize name}}")
|
||||||
else if($eq extension 'mp3')
|
else if($eq extension 'mp3')
|
||||||
video(width="100%" height="100%" title="{{sanitize name}}" controls="true")
|
video(width="100%" height="100%" title="{{sanitize name}}" controls="true")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue