mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Feature: Show plus sign in front of attachments.
Thanks to Meeques and xet7 ! Fixes #4900
This commit is contained in:
parent
a1ff7b9673
commit
2b13158fcd
1 changed files with 6 additions and 7 deletions
|
@ -32,6 +32,12 @@ template(name="attachmentDeletePopup")
|
|||
|
||||
template(name="attachmentsGalery")
|
||||
.attachments-galery
|
||||
if currentUser.isBoardMember
|
||||
unless currentUser.isCommentOnly
|
||||
unless currentUser.isWorker
|
||||
//li.attachment-item.add-attachment
|
||||
a.js-add-attachment(title="{{_ 'add-attachment' }}")
|
||||
i.fa.fa-plus
|
||||
each attachments
|
||||
.attachment-item
|
||||
a.attachment-thumbnail.swipebox(href="{{link}}" title="{{sanitize name}}")
|
||||
|
@ -64,13 +70,6 @@ template(name="attachmentsGalery")
|
|||
unless currentUser.isWorker
|
||||
a.fa.fa-navicon.attachment-details-menu.js-open-attachment-menu(title="{{_ 'attachmentActionsPopup-title'}}")
|
||||
|
||||
if currentUser.isBoardMember
|
||||
unless currentUser.isCommentOnly
|
||||
unless currentUser.isWorker
|
||||
//li.attachment-item.add-attachment
|
||||
a.js-add-attachment(title="{{_ 'add-attachment' }}")
|
||||
i.fa.fa-plus
|
||||
|
||||
template(name="attachmentActionsPopup")
|
||||
ul.pop-over-list
|
||||
li
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue