diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/components/import/import.jade | 18 |
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'}} |