From 22923d08af4f1a63ded1d92fe6918436b598592b Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Sat, 17 Mar 2018 08:49:22 +0200 Subject: Enabled import at Sandtorm. Keep there warning about possible data loss bug. --- client/components/import/import.jade | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/client/components/import/import.jade b/client/components/import/import.jade index c6dc1bef..152df7bf 100644 --- a/client/components/import/import.jade +++ b/client/components/import/import.jade @@ -11,17 +11,14 @@ template(name="import") +Template.dynamic(template=currentTemplate) template(name="importTextarea") - unless isSandstorm - form - p: label(for='import-textarea') {{_ instruction}} - textarea.js-import-json(placeholder="{{_ 'import-json-placeholder'}}" autofocus) - | {{jsonText}} - if isSandstorm - p.warning {{_ 'import-sandstorm-warning'}} - input.primary.wide(type="submit" value="{{_ 'import'}}") - if isSandstorm - p.warning 'Import disabled because of data loss bug https://github.com/wekan/wekan/issues/1430' - + form + p: label(for='import-textarea') {{_ instruction}} + textarea.js-import-json(placeholder="{{_ 'import-json-placeholder'}}" autofocus) + | {{jsonText}} + if isSandstorm + p.warning {{_ 'import-sandstorm-warning'}} + p.warning 'IMPORT CAN CAUSE DATA LOSS OF THIS GRAIN BUG https://github.com/wekan/wekan/issues/1430' + input.primary.wide(type="submit" value="{{_ 'import'}}") template(name="importMapMembers") h2 {{_ 'import-map-members'}} -- cgit v1.2.3-1-g7c22