mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 16:11:47 +01:00
Set card attachment as background image. In Progress.
Thanks to xet7 ! Related #486
This commit is contained in:
parent
49d0fb2eae
commit
8c6df7f20c
2 changed files with 9 additions and 0 deletions
|
|
@ -81,6 +81,13 @@ template(name="attachmentActionsPopup")
|
|||
| {{_ 'remove-cover'}}
|
||||
else
|
||||
| {{_ 'add-cover'}}
|
||||
if isImage
|
||||
a(class="{{#if isBackgroundImage}}js-remove-background-image{{else}}js-add-background-image{{/if}}")
|
||||
i.fa.fa-picture-o
|
||||
if isBackgroundImage
|
||||
| {{_ 'remove-background-image'}}
|
||||
else
|
||||
| {{_ 'add-background-image'}}
|
||||
if currentUser.isBoardAdmin
|
||||
a.js-rename
|
||||
i.fa.fa-pencil-square-o
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue