mirror of
https://github.com/wekan/wekan.git
synced 2026-02-05 08:01:49 +01:00
commit
8bd7d624da
24 changed files with 44 additions and 1 deletions
|
|
@ -47,6 +47,9 @@ template(name="boardActivities")
|
|||
if($eq activityType 'createList')
|
||||
| {{_ 'activity-added' list.title boardLabel}}.
|
||||
|
||||
if($eq activityType 'removeList')
|
||||
| {{_ 'activity-removed' title boardLabel}}.
|
||||
|
||||
if($eq activityType 'importBoard')
|
||||
| {{{_ 'activity-imported-board' boardLabel sourceLink}}}.
|
||||
|
||||
|
|
|
|||
|
|
@ -33,6 +33,9 @@ template(name="listActionPopup")
|
|||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-close-list {{_ 'archive-list'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-remove-list {{_ 'remove-list'}}
|
||||
|
||||
template(name="boardLists")
|
||||
ul.pop-over-list
|
||||
|
|
|
|||
|
|
@ -60,4 +60,10 @@ Template.listActionPopup.events({
|
|||
this.archive();
|
||||
Popup.close();
|
||||
},
|
||||
'click .js-remove-list'(evt) {
|
||||
const currentList = this;
|
||||
evt.preventDefault();
|
||||
Lists.remove(currentList._id);
|
||||
Popup.close();
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue