From 34d8235551cdef37f42d378c348031fc6848797c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 27 Feb 2019 16:14:14 +0200 Subject: Add the following new Sandstorm features and fixes: - All Boards page [so it's possible to go back from subtask board](https://github.com/wekan/wekan/issues/2082) - Board favorites - New Sandstorm board first user is Admin and [has IFTTT Rules](https://github.com/wekan/wekan/issues/2125) and Standalone Wekan Admin Panel. Probably some Admin Panel features do not work yet. Please keep backup of your grains before testig Admin Panel. - Linked Cards and Linked Boards. - Some not needed options like Logout etc have been hidden from top bar right menu. - [Import board now works. "Board not found" is not problem anymore](https://github.com/wekan/wekan/issues/1430), because you can go to All Boards page to change to imported board. and removes the following features: - Remove Welcome Board from Standalone Wekan, [to fix Welcome board not translated](https://github.com/wekan/wekan/issues/1601). Sandstorm Wekan does not have Welcome Board. Thanks to xet7 ! Closes #2125, closes #2082, closes #1430, closes #1601, related #2205, related #2070, related #1695, related #1192. --- client/components/cards/cardDetails.jade | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/cardDetails.jade b/client/components/cards/cardDetails.jade index 25316d04..df76edce 100644 --- a/client/components/cards/cardDetails.jade +++ b/client/components/cards/cardDetails.jade @@ -19,16 +19,14 @@ template(name="cardDetails") a.js-parent-card(href=linkForCard) {{title}} // else {{_ 'top-level-card'}} - unless isSandstorm - if isLinkedCard - h3.linked-card-location - +viewer - | {{getBoardTitle}} > {{getTitle}} + if isLinkedCard + h3.linked-card-location + +viewer + | {{getBoardTitle}} > {{getTitle}} if getArchived if isLinkedBoard - unless isSandstorm - p.warning {{_ 'board-archived'}} + p.warning {{_ 'board-archived'}} else p.warning {{_ 'card-archived'}} @@ -192,11 +190,9 @@ template(name="cardDetails") unless currentUser.isNoComments if isLoaded.get if isLinkedCard - unless isSandstorm - +activities(card=this mode="linkedcard") + +activities(card=this mode="linkedcard") else if isLinkedBoard - unless isSandstorm - +activities(card=this mode="linkedboard") + +activities(card=this mode="linkedboard") else +activities(card=this mode="card") -- cgit v1.2.3-1-g7c22