summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:45:46 +0100
committerMaxime Quandalle <maxime@quandalle.com>2016-01-03 23:45:46 +0100
commitac6491ea127215cb07ca490fc2cc1af7c3778e8f (patch)
treeb5f3a54950289f39d3eafc745f133d2512c24cb5 /client/components/boards
parent46747b01fb3eb42901518a3fdb8a5f6d823465eb (diff)
downloadwekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.tar.gz
wekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.tar.bz2
wekan-ac6491ea127215cb07ca490fc2cc1af7c3778e8f.zip
Remove unnecessary template name declaration
This code was duplicate with the name we use to `register` the component. A update of blaze-component removed the need to duplicate this declaration.
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardArchive.js4
-rw-r--r--client/components/boards/boardBody.js8
-rw-r--r--client/components/boards/boardHeader.js16
-rw-r--r--client/components/boards/boardsList.js4
4 files changed, 0 insertions, 32 deletions
diff --git a/client/components/boards/boardArchive.js b/client/components/boards/boardArchive.js
index bd0de0a3..aab1e2c6 100644
--- a/client/components/boards/boardArchive.js
+++ b/client/components/boards/boardArchive.js
@@ -5,10 +5,6 @@ Template.boardListHeaderBar.events({
});
BlazeComponent.extendComponent({
- template() {
- return 'archivedBoards';
- },
-
onCreated() {
this.subscribe('archivedBoards');
},
diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js
index 9c1625cd..15268a6b 100644
--- a/client/components/boards/boardBody.js
+++ b/client/components/boards/boardBody.js
@@ -1,10 +1,6 @@
const subManager = new SubsManager();
BlazeComponent.extendComponent({
- template() {
- return 'board';
- },
-
onCreated() {
this.draggingActive = new ReactiveVar(false);
this.showOverlay = new ReactiveVar(false);
@@ -180,10 +176,6 @@ Template.boardBody.onRendered(function() {
});
BlazeComponent.extendComponent({
- template() {
- return 'addListForm';
- },
-
// Proxy
open() {
this.childComponents('inlinedForm')[0].open();
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index f8ccfba5..acf40f44 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -41,10 +41,6 @@ Template.boardChangeTitlePopup.events({
});
BlazeComponent.extendComponent({
- template() {
- return 'boardHeaderBar';
- },
-
isStarred() {
const boardId = Session.get('currentBoard');
const user = Meteor.user();
@@ -93,10 +89,6 @@ BlazeComponent.extendComponent({
}).register('boardHeaderBar');
BlazeComponent.extendComponent({
- template() {
- return 'boardChangeColorPopup';
- },
-
backgroundColors() {
return Boards.simpleSchema()._schema.color.allowedValues;
},
@@ -119,10 +111,6 @@ BlazeComponent.extendComponent({
}).register('boardChangeColorPopup');
BlazeComponent.extendComponent({
- template() {
- return 'createBoardPopup';
- },
-
onCreated() {
this.visibilityMenuIsOpen = new ReactiveVar(false);
this.visibility = new ReactiveVar('private');
@@ -170,10 +158,6 @@ BlazeComponent.extendComponent({
}).register('createBoardPopup');
BlazeComponent.extendComponent({
- template() {
- return 'boardChangeVisibilityPopup';
- },
-
visibilityCheck() {
const currentBoard = Boards.findOne(Session.get('currentBoard'));
return this.currentData() === currentBoard.permission;
diff --git a/client/components/boards/boardsList.js b/client/components/boards/boardsList.js
index 131adf9d..e4bb050e 100644
--- a/client/components/boards/boardsList.js
+++ b/client/components/boards/boardsList.js
@@ -1,8 +1,4 @@
BlazeComponent.extendComponent({
- template() {
- return 'boardList';
- },
-
boards() {
return Boards.find({
archived: false,