summaryrefslogtreecommitdiffstats
path: root/client/components/main/header.js
blob: 2a545309ec0cee96d1dcd168e8b6294c230e4e6e (plain)
1
2
3
4
5
6
7
8
9
10
Template.header.helpers({
  // Reactively set the color of the page from the color of the current board.
  headerTemplate: function() {
    return 'headerBoard';
  }
});

Template.header.events({
  'click .js-create-board': Popup.open('createBoard')
});