mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Add actions menu to checklist
This commit is contained in:
parent
764dbb71f0
commit
7651c00d57
4 changed files with 13 additions and 1 deletions
|
@ -31,6 +31,7 @@ template(name="checklistDetail")
|
|||
.checklist-title
|
||||
span
|
||||
if canModifyCard
|
||||
a.fa.fa-navicon.checklist-details-menu.js-open-checklist-details-menu(title="{{_ 'checklistActionsPopup-title'}}")
|
||||
a.js-delete-checklist.toggle-delete-checklist-dialog {{_ "delete"}}...
|
||||
|
||||
if canModifyCard
|
||||
|
@ -133,3 +134,7 @@ template(name="boardsSwimlanesAndLists")
|
|||
|
||||
.edit-controls.clearfix
|
||||
button.primary.confirm.js-done {{_ 'done'}}
|
||||
|
||||
template(name="checklistActionsPopup")
|
||||
ul.pop-over-list
|
||||
li
|
||||
|
|
|
@ -190,6 +190,7 @@ BlazeComponent.extendComponent({
|
|||
return [
|
||||
{
|
||||
...events,
|
||||
'click .js-open-checklist-details-menu': Popup.open('checklistActions'),
|
||||
'click .toggle-delete-checklist-dialog' : Popup.afterConfirm('checklistDelete', function () {
|
||||
Popup.close();
|
||||
const checklist = this.checklist;
|
||||
|
|
|
@ -142,3 +142,8 @@ textarea.js-add-checklist-item, textarea.js-edit-checklist-item
|
|||
background: #dbdbdb
|
||||
color: #222
|
||||
box-shadow: 0 1px 2px rgba(0,0,0,.2)
|
||||
|
||||
.checklist-details-menu
|
||||
float: right
|
||||
padding-top: 6px
|
||||
margin-right: 10px
|
||||
|
|
|
@ -1138,5 +1138,6 @@
|
|||
"custom-legal-notice-link-url": "Custom legal notice page URL",
|
||||
"acceptance_of_our_legalNotice": "By continuing, you accept our",
|
||||
"legalNotice": "legal notice",
|
||||
"copied": "Copied!"
|
||||
"copied": "Copied!",
|
||||
"checklistActionsPopup-title": "Checklist Actions"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue