mirror of
https://github.com/wekan/wekan.git
synced 2026-01-26 11:16:10 +01:00
Fix: incorrect attachment link with subfolder in the url
This commit is contained in:
parent
8937f18423
commit
ef0c729b27
3 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@ template(name="previewClipboardImagePopup")
|
|||
button.primary.js-upload-pasted-image {{_ 'upload'}}
|
||||
|
||||
template(name="previewAttachedImagePopup")
|
||||
img.preview-large-image.js-large-image-clicked(src="{{pathFor url}}")
|
||||
img.preview-large-image.js-large-image-clicked(src="{{url}}")
|
||||
|
||||
template(name="attachmentDeletePopup")
|
||||
p {{_ "attachment-delete-pop"}}
|
||||
|
|
@ -25,7 +25,7 @@ template(name="attachmentsGalery")
|
|||
.attachment-thumbnail
|
||||
if isUploaded
|
||||
if isImage
|
||||
img.attachment-thumbnail-img.js-preview-image(src="{{pathFor url}}")
|
||||
img.attachment-thumbnail-img.js-preview-image(src="{{url}}")
|
||||
else
|
||||
span.attachment-thumbnail-ext= extension
|
||||
else
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
template(name="minicard")
|
||||
.minicard
|
||||
if cover
|
||||
.minicard-cover(style="background-image: url('{{pathFor cover.url}}');")
|
||||
.minicard-cover(style="background-image: url('{{cover.url}}');")
|
||||
if labels
|
||||
.minicard-labels
|
||||
each labels
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue