mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-02 09:54:37 +08:00
Merge pull request #8392 from aignatov-bio/ai-sci-11767-add-warning-to-mark-as-na
Add warning to mark as na button [SCI-11767]
This commit is contained in:
commit
caccde9dab
2 changed files with 5 additions and 0 deletions
|
@ -19,6 +19,9 @@
|
|||
{{ i18n.t('forms.fields.submitted_by', { date: field.field_value.submitted_at, user: field.field_value.submitted_by_full_name}) }}
|
||||
</span>
|
||||
<button class="btn btn-secondary mb-0.5"
|
||||
:title="i18n.t('forms.fields.mark_as_na_tooltip') "
|
||||
data-toggle="tooltip"
|
||||
data-placement="top"
|
||||
:disabled="disabled"
|
||||
v-if="field.attributes.allow_not_applicable"
|
||||
:class="{
|
||||
|
@ -87,6 +90,7 @@ export default {
|
|||
if (this.$refs.description) {
|
||||
this.$nextTick(() => {
|
||||
window.renderElementSmartAnnotations(this.$refs.description, 'span');
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
|
@ -1098,6 +1098,7 @@ en:
|
|||
description_html: "<p>Publishing a form locks it for editing and makes it available for use in protocol steps. You can unpublish the form only if it isn't linked to any steps.</p><p>Are you sure you want to publish the form?</p>"
|
||||
fields:
|
||||
mark_as_na: "Mark as N/A"
|
||||
mark_as_na_tooltip: "'Mark as N/A' will delete content in this field."
|
||||
add_text: "Add text"
|
||||
add_number: "Add number"
|
||||
from: "From"
|
||||
|
|
Loading…
Add table
Reference in a new issue