diff options
author | nztqa <nztqa@users.noreply.github.com> | 2017-06-27 11:37:16 +0900 |
---|---|---|
committer | nztqa <nztqa@users.noreply.github.com> | 2017-06-27 11:37:16 +0900 |
commit | ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18 (patch) | |
tree | 469de80fc2bc8cee701f98538d9fbc9f9082c7d8 /client/components/cards | |
parent | 8937f18423cafa770db9fb88225b74b775ec62a5 (diff) | |
download | wekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.tar.gz wekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.tar.bz2 wekan-ef0c729b27ac9da4d2c3928c6bc2fa6e1e25ed18.zip |
Fix: incorrect attachment link with subfolder in the url
Diffstat (limited to 'client/components/cards')
-rw-r--r-- | client/components/cards/attachments.jade | 4 | ||||
-rw-r--r-- | client/components/cards/minicard.jade | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/components/cards/attachments.jade b/client/components/cards/attachments.jade index da728114..e35b364a 100644 --- a/client/components/cards/attachments.jade +++ b/client/components/cards/attachments.jade @@ -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 diff --git a/client/components/cards/minicard.jade b/client/components/cards/minicard.jade index 5409ec62..6fd83386 100644 --- a/client/components/cards/minicard.jade +++ b/client/components/cards/minicard.jade @@ -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 |