diff --git a/src/admin/components/other/event/diff-exhibition/event-split.vue b/src/admin/components/other/event/diff-exhibition/event-split.vue index 779e81a0e..1bb1cee0d 100644 --- a/src/admin/components/other/event/diff-exhibition/event-split.vue +++ b/src/admin/components/other/event/diff-exhibition/event-split.vue @@ -12,15 +12,17 @@ :key="key">

-

{{ `${key.replace('_', ' ')}:` }}
+
+ {{ `${key.replace(/_/g, ' ')}:` }} +
+ v-else-if="diff.old.constructor.name !== 'Array' && diff.old.constructor.name !== 'Object'" + class="is-inline"> {{ diff.old }}
-

@@ -49,17 +50,18 @@
+ class="is-capitalized"> {{ `ID: ${o.id} Enabled: ${o.enabled ? o.enabled : 'false'}` }}
-
{{ `${ind2 ? ind2.replace('_', ' ')+':' : ''} ${o2} ` }}
+ v-for="(e, i2) in o" + :key="i2" + class="is-inline"> +
+ {{ `${i2.replace(/_/g, ' ')}: ${e} ` }} +
@@ -79,7 +81,7 @@
- {{ `${key.replace('_', ' ')}:` }} + {{ `${key.replace(/_/g, ' ')}:` }}
@@ -135,7 +137,7 @@
- {{ `${i2.replace('_', ' ')}: ${e} ` }} + {{ `${i2.replace(/_/g, ' ')}: ${e} ` }}
diff --git a/src/admin/components/other/event/diff-exhibition/event-unified.vue b/src/admin/components/other/event/diff-exhibition/event-unified.vue index d426558dc..31608f5b8 100644 --- a/src/admin/components/other/event/diff-exhibition/event-unified.vue +++ b/src/admin/components/other/event/diff-exhibition/event-unified.vue @@ -13,18 +13,19 @@ :key="key">

-

{{ `${key.replace('_', ' ')}:` }}
+
+ {{ `${key.replace(/_/g, ' ')}:` }} +
+ v-else-if="diff.old.constructor.name !== 'Array' && diff.old.constructor.name !== 'Object'" + class="is-inline"> {{ diff.old }}
-
+ class="is-capitalized"> {{ `ID: ${o.id} Enabled: ${o.enabled ? o.enabled : 'false'}` }}
-
{{ `${ind2 ? ind2.replace('_', ' ')+':' : ''} ${o2} ` }}
+ v-for="(e, i2) in o" + :key="i2" + class="is-inline"> +
+ {{ `${i2.replace(/_/g, ' ')}: ${e} ` }} +
@@ -77,7 +79,7 @@
- {{ `${key.replace('_', ' ')}:` }} + {{ `${key.replace(/_/g, ' ')}:` }}
@@ -134,7 +136,7 @@
- {{ `${i2.replace('_', ' ')}: ${e} ` }} + {{ `${i2.replace(/_/g, ' ')}: ${e} ` }}
diff --git a/src/admin/pages/singles/event-page.vue b/src/admin/pages/singles/event-page.vue index fedad21f7..34db94716 100644 --- a/src/admin/pages/singles/event-page.vue +++ b/src/admin/pages/singles/event-page.vue @@ -2,6 +2,7 @@
+
{{ event.description }}