diff options
author | Lauri Ojansivu <x@xet7.org> | 2018-03-17 09:36:51 +0200 |
---|---|---|
committer | Lauri Ojansivu <x@xet7.org> | 2018-03-17 09:36:51 +0200 |
commit | fa0fd5f21f8b34e959c93ece068be6315eecf8d4 (patch) | |
tree | f9775e82095f8c27e511acdcc2937537d3b958c0 /client/components/import | |
parent | dfc55371072bcd877f49d043dc65c3f2ef76c651 (diff) | |
parent | 83848dbee2e6e283e33667cfa9649aafc7c07f4e (diff) | |
download | wekan-fa0fd5f21f8b34e959c93ece068be6315eecf8d4.tar.gz wekan-fa0fd5f21f8b34e959c93ece068be6315eecf8d4.tar.bz2 wekan-fa0fd5f21f8b34e959c93ece068be6315eecf8d4.zip |
Merge branch 'devel'
Diffstat (limited to 'client/components/import')
-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..a1fbd83b 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 + h1.warning DANGER !!! THIS DESTROYS YOUR IMPORTED DATA, CAUSES BOARD NOT FOUND ERROR WHEN YOU OPEN THIS GRAIN AGAIN https://github.com/wekan/wekan/issues/1430 + p.warning {{_ 'import-sandstorm-warning'}} + input.primary.wide(type="submit" value="{{_ 'import'}}") template(name="importMapMembers") h2 {{_ 'import-map-members'}} |