mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-11 07:34:41 +08:00
Remove cancel button in import protocol parser modals and fix wording [SCI-9284] (#6203)
This commit is contained in:
parent
a07174ed78
commit
efed11be3c
2 changed files with 2 additions and 6 deletions
|
@ -9,10 +9,6 @@
|
|||
<div class="modal-body text-xs" v-html="i18n.t(`protocols.import_modal.${state}.body_html`, { url: protocolUrl })">
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button"
|
||||
class="btn btn-default"
|
||||
data-dismiss="modal">{{ i18n.t('protocols.import_modal.cancel') }}</button>
|
||||
|
||||
<button v-if="state === 'confirm'" type="button"
|
||||
class="btn btn-primary"
|
||||
@click.stop.prevent="confirm">{{ i18n.t('protocols.import_modal.import') }}</button>
|
||||
|
|
|
@ -2696,9 +2696,9 @@ en:
|
|||
body_html: "The process of importing has started. Please wait..."
|
||||
not_yet_done:
|
||||
title: "Importing in progress"
|
||||
body_html: "The import is taking longer than expected. You'll get a notice in <i class=\"sn-icon sn-icon-notifications\"></i> Notifications when your protocol template is ready. You can close the window and continue with your work."
|
||||
body_html: "The import is taking longer than expected. You'll get a notice in Notifications when your protocol template is ready. You can close the window and continue with your work."
|
||||
done:
|
||||
title: "Importing completed"
|
||||
title: "Importing finished"
|
||||
body_html: 'The protocol has been successfully imported. You can access the draft of protocol template <a href="%{url}">here.</a>'
|
||||
failed:
|
||||
title: "Import failed"
|
||||
|
|
Loading…
Add table
Reference in a new issue