Adds warning message to clarify auto-draft status of updates.
This commit is contained in:
parent
220a230ea8
commit
9bb4519ddb
|
@ -662,7 +662,16 @@
|
|||
</span>
|
||||
<span>{{ $i18n.get('info_updating_metadata_values') }}</span>
|
||||
</span>
|
||||
<span v-else>{{ ($i18n.get('info_updated_at') + ' ' + lastUpdated) }}</span>
|
||||
<template v-else>
|
||||
<span
|
||||
v-if="form.status === 'auto-draft'"
|
||||
class="has-text-danger">
|
||||
{{ $i18n.get('info_autodraft_updated') }}
|
||||
</span>
|
||||
<span v-else>
|
||||
{{ ($i18n.get('info_updated_at') + ' ' + lastUpdated) }}
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<span class="help is-danger">
|
||||
{{ formErrorMessage }}
|
||||
|
|
|
@ -1060,6 +1060,7 @@ return apply_filters( 'tainacan-i18n', [
|
|||
'info_%s_terms_created' => __( '%s terms created with success.', 'tainacan' ),
|
||||
'info_terms_creation_failed_due_to_value_%s' => __( 'Terms creation failed due to value: %s.', 'tainacan' ),
|
||||
'info_terms_creation_failed_due_to_values_%s' => __( 'Terms creation failed due to values: %s.', 'tainacan' ),
|
||||
'info_autodraft_updated' => __( 'Autodraft updated. Please create the item to keep your changes.', 'tainacan' ),
|
||||
|
||||
/* Activity actions */
|
||||
'action_update-metadata-value' => __( 'Item Metadata Value Updates', 'tainacan'),
|
||||
|
|
Loading…
Reference in New Issue