mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 02:34:20 +01:00
Add first draft of data model and user interface. No actions.
This commit is contained in:
parent
ef85b71ee4
commit
0a53ee87b9
14 changed files with 129 additions and 7 deletions
|
|
@ -1,5 +1,20 @@
|
|||
const subManager = new SubsManager();
|
||||
|
||||
Template.boardListHeaderBar.events({
|
||||
'click .js-open-archived-board'() {
|
||||
Modal.open('archivedBoards');
|
||||
},
|
||||
});
|
||||
|
||||
Template.boardListHeaderBar.helpers({
|
||||
templatesBoardId() {
|
||||
return Meteor.user().getTemplatesBoard().id;
|
||||
},
|
||||
templatesBoardSlug() {
|
||||
return Meteor.user().getTemplatesBoard().slug;
|
||||
},
|
||||
});
|
||||
|
||||
BlazeComponent.extendComponent({
|
||||
onCreated() {
|
||||
Meteor.subscribe('setting');
|
||||
|
|
@ -9,6 +24,7 @@ BlazeComponent.extendComponent({
|
|||
return Boards.find({
|
||||
archived: false,
|
||||
'members.userId': Meteor.userId(),
|
||||
type: 'board',
|
||||
}, {
|
||||
sort: ['title'],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue