diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-03-17 08:49:22 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-03-17 08:49:22 +0200 |
commit | 22923d08af4f1a63ded1d92fe6918436b598592b (patch) | |
tree | 685e8734dca705e1e3621f4dabfc851b094c435a /client | |
parent | 57ccfcde6344ad37434f5a6165f55682ab9d6ce9 (diff) | |
download | wekan-22923d08af4f1a63ded1d92fe6918436b598592b.tar.gz wekan-22923d08af4f1a63ded1d92fe6918436b598592b.tar.bz2 wekan-22923d08af4f1a63ded1d92fe6918436b598592b.zip |
Enabled import at Sandtorm. Keep there warning about possible data loss bug.
Diffstat (limited to 'client')
-rw-r--r-- | client/components/import/import.jade | 19 |
1 files 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'}} |