mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Change the way to remove a list (card like)
This commit is contained in:
parent
425129eb16
commit
5b0da6cb3a
25 changed files with 170 additions and 104 deletions
|
|
@ -35,7 +35,7 @@ template(name="listActionPopup")
|
|||
li: a.js-close-list {{_ 'archive-list'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-remove-list {{_ 'remove-list'}}
|
||||
li: a.js-more {{_ 'listMorePopup-title'}}
|
||||
|
||||
template(name="boardLists")
|
||||
ul.pop-over-list
|
||||
|
|
@ -45,3 +45,20 @@ template(name="boardLists")
|
|||
a.disabled {{title}} ({{_ 'current'}})
|
||||
else
|
||||
a.js-select-list= title
|
||||
|
||||
template(name="listMorePopup")
|
||||
p.quiet
|
||||
span.clearfix
|
||||
span {{_ 'link-list'}}
|
||||
= ' '
|
||||
i.fa.colorful(class="{{#if board.isPublic}}fa-globe{{else}}fa-lock{{/if}}")
|
||||
input.inline-input(type="text" readonly value="{{ rootUrl }}")
|
||||
| {{_ 'added'}}
|
||||
span.date(title=list.createdAt) {{ moment createdAt 'LLL' }}
|
||||
a.js-delete(title="{{_ 'list-delete-notice'}}") {{_ 'delete'}}
|
||||
|
||||
template(name="listDeletePopup")
|
||||
p {{_ "list-delete-pop"}}
|
||||
unless archived
|
||||
p {{_ "list-delete-suggest-archive"}}
|
||||
button.js-confirm.negate.full(type="submit") {{_ 'delete'}}
|
||||
|
|
|
|||
|
|
@ -60,10 +60,13 @@ Template.listActionPopup.events({
|
|||
this.archive();
|
||||
Popup.close();
|
||||
},
|
||||
'click .js-remove-list'(evt) {
|
||||
const currentList = this;
|
||||
evt.preventDefault();
|
||||
Lists.remove(currentList._id);
|
||||
Popup.close();
|
||||
},
|
||||
'click .js-more': Popup.open('listMore'),
|
||||
});
|
||||
|
||||
Template.listMorePopup.events({
|
||||
'click .js-delete': Popup.afterConfirm('listDelete', function() {
|
||||
Popup.close();
|
||||
Lists.remove(this._id);
|
||||
Utils.goBoardId(this.boardId);
|
||||
}),
|
||||
});
|
||||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "تحديد بطاقات هذه القائمة",
|
||||
"listActionPopup-title": "قائمة الإجراءات",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "المزيد",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "القائمات",
|
||||
"log-out": "تسجيل الخروج",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "List Actions",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "Muioc’h",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "Log Out",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Selecciona totes les fitxes d'aquesta llista",
|
||||
"listActionPopup-title": "Accions de la llista",
|
||||
"listImportCardPopup-title": "importa una fitxa de Trello",
|
||||
"listMorePopup-title": "Més",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Llistes",
|
||||
"log-out": "Finalitza la sessió",
|
||||
"log-in": "Ingresa",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Vybrat všechny karty v tomto seznamu",
|
||||
"listActionPopup-title": "Vypsat akce",
|
||||
"listImportCardPopup-title": "Importovat Trello kartu",
|
||||
"listMorePopup-title": "Více",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Seznamy",
|
||||
"log-out": "Odhlásit",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Alle Karten in dieser Liste auswählen",
|
||||
"listActionPopup-title": "Listenaktionen",
|
||||
"listImportCardPopup-title": "Eine Trello-Karte importieren",
|
||||
"listMorePopup-title": "Mehr",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listen",
|
||||
"log-out": "Ausloggen",
|
||||
"log-in": "Einloggen",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "List Actions",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "More",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "Log Out",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -223,6 +223,8 @@
|
|||
"list-select-cards": "Seleccionar todas las tarjetas en esta lista",
|
||||
"listActionPopup-title": "Acciones de la lista",
|
||||
"listImportCardPopup-title": "Importar tarjeta de Trello",
|
||||
"listMorePopup-title": "Más",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listas",
|
||||
"log-out": "Finalizar la sesión",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "Acciones de la lista",
|
||||
"listImportCardPopup-title": "Importar una tarjeta de Trello",
|
||||
"listMorePopup-title": "Más",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listas",
|
||||
"log-out": "Finalizar la sesion",
|
||||
"log-in": "Iniciar sesion",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "انتخاب تمام کارت ها در این لیست",
|
||||
"listActionPopup-title": "لیست اقدامات",
|
||||
"listImportCardPopup-title": "وارد کردن کارت Trello",
|
||||
"listMorePopup-title": "بیشتر",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "لیست ها",
|
||||
"log-out": "خروج",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Valitse kaikki kortit tässä listassa",
|
||||
"listActionPopup-title": "Listaa toimet",
|
||||
"listImportCardPopup-title": "Tuo Trello kortti",
|
||||
"listMorePopup-title": "Lisää",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listat",
|
||||
"log-out": "Kirjaudu ulos",
|
||||
"log-in": "Kirjaudu sisään",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Sélectionner les cartes de cette liste",
|
||||
"listActionPopup-title": "Liste des actions",
|
||||
"listImportCardPopup-title": "Importer une carte Trello",
|
||||
"listMorePopup-title": "Plus",
|
||||
"link-list": "Lier à cette liste",
|
||||
"lists": "Listes",
|
||||
"log-out": "Déconnexion",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "בחר את כל הכרטיסים ברשימה זו",
|
||||
"listActionPopup-title": "פעולות רשימה",
|
||||
"listImportCardPopup-title": "ייבא כרטיס מטרלו",
|
||||
"listMorePopup-title": "עוד",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "רשימות",
|
||||
"log-out": "התנתק",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Selezione tutte le schede in questa lista",
|
||||
"listActionPopup-title": "Azioni disponibili",
|
||||
"listImportCardPopup-title": "Importa una scheda di Trello",
|
||||
"listMorePopup-title": "Altro",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Liste",
|
||||
"log-out": "Log Out",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "操作一覧",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "さらに見る",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "ログアウト",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "동작 목록",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "더보기",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "로그아웃",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Zaznacz wszystkie karty z tej listy",
|
||||
"listActionPopup-title": "Lista akcji",
|
||||
"listImportCardPopup-title": "Zaimportuj kartę z Trello",
|
||||
"listMorePopup-title": "Więcej",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listy",
|
||||
"log-out": "Wyloguj",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Selecionar todos os cartões nesta lista",
|
||||
"listActionPopup-title": "Listar Ações",
|
||||
"listImportCardPopup-title": "Importe um cartão do Trello",
|
||||
"listMorePopup-title": "Mais",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Listas",
|
||||
"log-out": "Sair",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "List Actions",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "More",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Liste",
|
||||
"log-out": "Log Out",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Выбрать все карточки в этом списке",
|
||||
"listActionPopup-title": "Список действий",
|
||||
"listImportCardPopup-title": "Импортировать Trello карточку",
|
||||
"listMorePopup-title": "Поделиться",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Списки",
|
||||
"log-out": "Выйти",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "List Actions",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "More",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "Log Out",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "Select all cards in this list",
|
||||
"listActionPopup-title": "Liste İşlemleri",
|
||||
"listImportCardPopup-title": "Import a Trello card",
|
||||
"listMorePopup-title": "More",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "Lists",
|
||||
"log-out": "Oturum Kapat",
|
||||
"log-in": "Log In",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "选择清单中的所有卡片",
|
||||
"listActionPopup-title": "清单操作",
|
||||
"listImportCardPopup-title": "导入 Trello 卡片",
|
||||
"listMorePopup-title": "更多",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "清单",
|
||||
"log-out": "登出",
|
||||
"log-in": "登录",
|
||||
|
|
|
|||
|
|
@ -227,6 +227,8 @@
|
|||
"list-select-cards": "選擇清單中的所有卡片",
|
||||
"listActionPopup-title": "清單操作",
|
||||
"listImportCardPopup-title": "匯入 Trello 卡片",
|
||||
"listMorePopup-title": "更多",
|
||||
"link-list": "Link to this list",
|
||||
"lists": "清單",
|
||||
"log-out": "登出",
|
||||
"log-in": "登入",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue