summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-06-06 14:48:36 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-06-06 14:50:45 +0200
commit12919cbfc6c3fd0793624776b3afb70e3a0cdd1a (patch)
tree102b78eff3f2dcfa863d3361757144a4c7a8ab22 /client/components/boards
parent49167ccaa91376bf70c400013641f76d1164950e (diff)
downloadwekan-12919cbfc6c3fd0793624776b3afb70e3a0cdd1a.tar.gz
wekan-12919cbfc6c3fd0793624776b3afb70e3a0cdd1a.tar.bz2
wekan-12919cbfc6c3fd0793624776b3afb70e3a0cdd1a.zip
Restore the popup to add a member to the board
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardHeader.jade4
-rw-r--r--client/components/boards/boardHeader.js2
2 files changed, 5 insertions, 1 deletions
diff --git a/client/components/boards/boardHeader.jade b/client/components/boards/boardHeader.jade
index 6f12b8cc..86fbe255 100644
--- a/client/components/boards/boardHeader.jade
+++ b/client/components/boards/boardHeader.jade
@@ -120,3 +120,7 @@ template(name="boardChangeTitlePopup")
| {{_ 'title'}}
input.js-board-name(type="text" value="{{title}}" autofocus)
input.primary.wide(type="submit" value="{{_ 'rename'}}")
+
+template(name="closeBoardPopup")
+ p {{_ 'close-board-pop'}}
+ button.js-confirm.negate.full(type="submit") {{_ 'close'}}
diff --git a/client/components/boards/boardHeader.js b/client/components/boards/boardHeader.js
index 28238d4c..d0a1340c 100644
--- a/client/components/boards/boardHeader.js
+++ b/client/components/boards/boardHeader.js
@@ -33,7 +33,7 @@ BlazeComponent.extendComponent({
// Only show the star counter if the number of star is greater than 2
showStarCounter: function() {
var currentBoard = this.currentData();
- return currentBoard && currentBoard.stars > 2;
+ return currentBoard && currentBoard.stars >= 2;
},
events: function() {