|
@@ -41,10 +41,6 @@ Template.boardChangeTitlePopup.events({
|
|
});
|
|
});
|
|
|
|
|
|
BlazeComponent.extendComponent({
|
|
BlazeComponent.extendComponent({
|
|
- template() {
|
|
|
|
- return 'boardHeaderBar';
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
isStarred() {
|
|
isStarred() {
|
|
const boardId = Session.get('currentBoard');
|
|
const boardId = Session.get('currentBoard');
|
|
const user = Meteor.user();
|
|
const user = Meteor.user();
|
|
@@ -93,10 +89,6 @@ BlazeComponent.extendComponent({
|
|
}).register('boardHeaderBar');
|
|
}).register('boardHeaderBar');
|
|
|
|
|
|
BlazeComponent.extendComponent({
|
|
BlazeComponent.extendComponent({
|
|
- template() {
|
|
|
|
- return 'boardChangeColorPopup';
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
backgroundColors() {
|
|
backgroundColors() {
|
|
return Boards.simpleSchema()._schema.color.allowedValues;
|
|
return Boards.simpleSchema()._schema.color.allowedValues;
|
|
},
|
|
},
|
|
@@ -119,10 +111,6 @@ BlazeComponent.extendComponent({
|
|
}).register('boardChangeColorPopup');
|
|
}).register('boardChangeColorPopup');
|
|
|
|
|
|
BlazeComponent.extendComponent({
|
|
BlazeComponent.extendComponent({
|
|
- template() {
|
|
|
|
- return 'createBoardPopup';
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
onCreated() {
|
|
onCreated() {
|
|
this.visibilityMenuIsOpen = new ReactiveVar(false);
|
|
this.visibilityMenuIsOpen = new ReactiveVar(false);
|
|
this.visibility = new ReactiveVar('private');
|
|
this.visibility = new ReactiveVar('private');
|
|
@@ -170,10 +158,6 @@ BlazeComponent.extendComponent({
|
|
}).register('createBoardPopup');
|
|
}).register('createBoardPopup');
|
|
|
|
|
|
BlazeComponent.extendComponent({
|
|
BlazeComponent.extendComponent({
|
|
- template() {
|
|
|
|
- return 'boardChangeVisibilityPopup';
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
visibilityCheck() {
|
|
visibilityCheck() {
|
|
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
|
const currentBoard = Boards.findOne(Session.get('currentBoard'));
|
|
return this.currentData() === currentBoard.permission;
|
|
return this.currentData() === currentBoard.permission;
|