summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-02-21 20:20:19 +0200
committerLauri Ojansivu <x@xet7.org>2018-02-21 20:20:19 +0200
commite30f6515c623de7a48f25e0b2fc75313ae5d187c (patch)
tree4bc91e5fdafdb78e56d85d468f608a281e56bb43 /client
parent11e9811f82858a3d98036e142b0da69d867adebc (diff)
downloadwekan-e30f6515c623de7a48f25e0b2fc75313ae5d187c.tar.gz
wekan-e30f6515c623de7a48f25e0b2fc75313ae5d187c.tar.bz2
wekan-e30f6515c623de7a48f25e0b2fc75313ae5d187c.zip
Disabled Import temporarily on Sandstorm because of data loss bug.
Thanks to xet7 !
Diffstat (limited to 'client')
-rw-r--r--client/components/import/import.jade18
1 files changed, 11 insertions, 7 deletions
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'}}