Remove cancel button in import protocol parser modals and fix wording [SCI-9284] (#6203)

This commit is contained in:
ajugo 2023-09-13 15:02:30 +02:00 committed by GitHub
parent a07174ed78
commit efed11be3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View file

@ -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>

View file

@ -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"