From e30f6515c623de7a48f25e0b2fc75313ae5d187c Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 21 Feb 2018 20:20:19 +0200 Subject: Disabled Import temporarily on Sandstorm because of data loss bug. Thanks to xet7 ! --- client/components/import/import.jade | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'client') diff --git a/client/components/import/import.jade b/client/components/import/import.jade index 5e737cc6..c6dc1bef 100644 --- a/client/components/import/import.jade +++ b/client/components/import/import.jade @@ -11,13 +11,17 @@ template(name="import") +Template.dynamic(template=currentTemplate) template(name="importTextarea") - 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'}}") + 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' + template(name="importMapMembers") h2 {{_ 'import-map-members'}} -- cgit v1.2.3-1-g7c22