+ {{ attributeName }} + {{ `(${$i18n.get('info_logs_before')})` }} +
+diff --git a/src/admin/components/other/activity/activity-details-modal.vue b/src/admin/components/other/activity/activity-details-modal.vue index 0fc62d39c..df5ed68c3 100644 --- a/src/admin/components/other/activity/activity-details-modal.vue +++ b/src/admin/components/other/activity/activity-details-modal.vue @@ -16,7 +16,235 @@
{{ $i18n.get('label_activity_creation_date') }}: {{ activityCreationDate }}
{{ $i18n.get('label_activity_author') }}: {{ activity.user_name }}
-+ {{ attributeName }} + {{ `(${$i18n.get('info_logs_before')})` }} +
++ {{ attributeName }} + {{ `(${$i18n.get('info_logs_before')})` }} +
+ +{{ infoEmpty }}
++ {{ attributeName.replace(/_/g, ' ') }} + {{ `(${$i18n.get('info_logs_before')})` }} +
+ + ++ {{ diff.old.toString() }} +
+ ++ {{ diff.old ? `ID: ${diffContent.id} | Enabled: ${diffContent.enabled}` : infoEmpty }} +
++ {{ diff.old ? `ID: ${diffContent.id} | Enabled: ${diffContent.enabled}` : infoEmpty }} +
++ {{ diff.old ? + `Taxonomy ID: ${diff.old.taxonomy_id}; + Input type: ${diff.old.input_type}; + Allow new terms: ${diff.old.allow_new_terms}` : infoEmpty }} +
++ {{ diff.old ? (diff.old instanceof Array && !diff.old.length) ? infoEmpty : diff.old.toString().replace(/,/g, ' ') : infoEmpty }} +
+ ++ {{ attributeName }} + {{ `(${$i18n.get('info_logs_after')})` }} +
++ {{ attributeName }} + {{ `(${$i18n.get('info_logs_after')})` }} +
+ +{{ infoEmpty }}
++ {{ attributeName.replace(/_/g, ' ') }} + {{ `(${$i18n.get('info_logs_after')})` }} +
+ + ++ {{ diff.new.toString() }} +
+ + ++ {{ `ID: ${diffContent.id} | Enabled: ${diffContent.enabled}` }} +
++ {{ `ID: ${diffContent.id} | Enabled: ${diffContent.enabled}` }} +
++ {{ `Taxonomy ID: ${diff.new.taxonomy_id}; + Input type: ${diff.new.input_type}; + Allow new terms: ${diff.new.allow_new_terms}` }} +
++ {{ diff.new ? (diff.new instanceof Array && !diff.new.length) ? infoEmpty : diff.new.toString().replace(/,/g, ' ') : infoEmpty }} +
+ +