summaryrefslogtreecommitdiffstats
path: root/client/components/boards/boardBody.jade
diff options
context:
space:
mode:
authorLiming Xie <liming.xie@gmail.com>2015-12-17 14:23:35 +0800
committerLiming Xie <liming.xie@gmail.com>2015-12-17 14:23:35 +0800
commit354eff9f7bf550f83d55ef2e96b10aab1a70162d (patch)
tree34cba5531d56d4ca51ed5346a5f26e480c4a33c7 /client/components/boards/boardBody.jade
parent0954cff5b470712210275a9c0699d85d6579ab54 (diff)
downloadwekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.gz
wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.tar.bz2
wekan-354eff9f7bf550f83d55ef2e96b10aab1a70162d.zip
add: support compact mode for mobile web, auto adapt to small screen/window
Diffstat (limited to 'client/components/boards/boardBody.jade')
-rw-r--r--client/components/boards/boardBody.jade5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/components/boards/boardBody.jade b/client/components/boards/boardBody.jade
index 65564623..288590da 100644
--- a/client/components/boards/boardBody.jade
+++ b/client/components/boards/boardBody.jade
@@ -1,7 +1,10 @@
template(name="board")
if isBoardReady.get
if currentBoard
- +boardBody
+ if onlyShowCurrentCard
+ +cardDetails(currentCard)
+ else
+ +boardBody
else
//- XXX We need a better error message in case the board has been archived
+message(label="board-not-found")