mirror of
https://github.com/wekan/wekan.git
synced 2026-02-03 23:21:47 +01:00
export board to Wekan JSON
This commit is contained in:
parent
b719968df5
commit
f20b5d04f5
6 changed files with 61 additions and 0 deletions
|
|
@ -56,6 +56,7 @@ template(name="boardMenuPopup")
|
|||
if currentUser.isBoardAdmin
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-export-board(href="{{urlExport}}", download) {{_ 'export-board'}}
|
||||
li: a.js-archive-board {{_ 'archive-board'}}
|
||||
|
||||
template(name="boardVisibilityList")
|
||||
|
|
|
|||
|
|
@ -15,6 +15,12 @@ Template.boardMenuPopup.events({
|
|||
}),
|
||||
});
|
||||
|
||||
Template.boardMenuPopup.helpers({
|
||||
urlExport() {
|
||||
return Meteor.absoluteUrl(`api/b/${Session.get('currentBoard')}`);
|
||||
},
|
||||
});
|
||||
|
||||
Template.boardChangeTitlePopup.events({
|
||||
submit(evt, tpl) {
|
||||
const newTitle = tpl.$('.js-board-name').val().trim();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue