From 989dbe3ea703fd06422d95bc8b1a08f8c68e645a Mon Sep 17 00:00:00 2001 From: Dimitris Efstathiou Date: Thu, 7 Dec 2023 21:58:46 +0200 Subject: [PATCH] pkp/pkp-lib#7505 Fix UI in error cases --- src/pages/workflow/PublicationSectionJats.vue | 98 +++++++++---------- 1 file changed, 48 insertions(+), 50 deletions(-) diff --git a/src/pages/workflow/PublicationSectionJats.vue b/src/pages/workflow/PublicationSectionJats.vue index 36e28827a..f16416306 100644 --- a/src/pages/workflow/PublicationSectionJats.vue +++ b/src/pages/workflow/PublicationSectionJats.vue @@ -2,58 +2,56 @@
-
- {{ this.workingJatsProps['loadingContentError'] }} -
-
-
- -

{{ title }}

- +
+
+
+
+
+ {{ this.workingJatsProps['loadingContentError'] }} +
+
+
+
+
+
+ {{ t('publication.jats.autoCreatedMessage') }} +
+
+
+
+ {{ t('publication.jats.lastModified', {modificationDate: this.workingJatsProps.updatedAt, username: this.workingJatsProps.uploaderUserName}) }}
@@ -297,7 +295,7 @@ export default { } if (newValue != null && newValue[0] != null) { - if (newValue[0].hasOwnProperty('jatsContent')) { + if (newValue[0].hasOwnProperty('isDefaultContent')) { this.workingJatsProps = newValue[0]; this.hasLoadedContent = true; }