From 9cec6596260321d3a8475e584124925da4e1b781 Mon Sep 17 00:00:00 2001 From: Antoniafriedrich Date: Mon, 4 Nov 2024 15:15:53 +0100 Subject: [PATCH] Include Stacktrace on page --- .../config/mir/messages_de.properties | 2 +- .../config/mir/messages_en.properties | 2 +- .../xsl/metadata/mir-pdf-errorbox.xsl | 170 +++++++++++++----- 3 files changed, 124 insertions(+), 50 deletions(-) diff --git a/mir-module/src/main/resources/config/mir/messages_de.properties b/mir-module/src/main/resources/config/mir/messages_de.properties index 072595f597..81f1265ea2 100644 --- a/mir-module/src/main/resources/config/mir/messages_de.properties +++ b/mir-module/src/main/resources/config/mir/messages_de.properties @@ -925,4 +925,4 @@ pdf.errorbox.clause=Paragraph pdf.errorbox.test=Test pdf.errorbox.no.conformity=Keine pdf.errorbox.specification=Spezifikation -pdf.errorbox.validationerror.message=Leider konnte dieses Dokument aufgrund eines unbekannten Fehlers nicht validiert werden. +pdf.errorbox.validationerror.message=Leider konnte dieses Dokument aufgrund eines Fehlers nicht validiert werden. diff --git a/mir-module/src/main/resources/config/mir/messages_en.properties b/mir-module/src/main/resources/config/mir/messages_en.properties index 2d9c64b9a0..0572a4c562 100644 --- a/mir-module/src/main/resources/config/mir/messages_en.properties +++ b/mir-module/src/main/resources/config/mir/messages_en.properties @@ -877,4 +877,4 @@ pdf.errorbox.clause=Clause pdf.errorbox.test=Test pdf.errorbox.no.conformity=None pdf.errorbox.specification=Specification -pdf.errorbox.validationerror.message=Unfortunately, this document could not be validated due to an unknown error. +pdf.errorbox.validationerror.message=Unfortunately, this document could not be validated due to an error. diff --git a/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl b/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl index 720e454a43..ca92403909 100644 --- a/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl +++ b/mir-module/src/main/resources/xsl/metadata/mir-pdf-errorbox.xsl @@ -13,40 +13,70 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - -
-
+ + +
+
+
+

+ +

+

+ +

+
+
+
+ +
+
+
+ +

- +

- +

-
- -
-
- - -
-
-

- -

-

- -

-
-
-
- + + + @@ -58,33 +88,35 @@ + + + - warning + warning danger success +