Set card attachment as background image. In Progress.

Thanks to xet7 !

Related #486
This commit is contained in:
Lauri Ojansivu 2023-06-03 09:43:27 -04:00
parent 49d0fb2eae
commit 8c6df7f20c
2 changed files with 9 additions and 0 deletions

View file

@ -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

View file

@ -140,6 +140,8 @@
"board-change-color": "Change color",
"board-change-background-image": "Change Background Image",
"board-background-image-url": "Background Image URL",
"add-background-image": "Add Background Image",
"remove-background-image": "Remove Background Image",
"show-at-all-boards-page" : "Show at All Boards page",
"board-info-on-my-boards" : "All Boards Settings",
"boardInfoOnMyBoardsPopup-title" : "All Boards Settings",