diff --git a/stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html b/stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html index 2f1eb3ba3..e3b469ab9 100644 --- a/stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html +++ b/stirling-pdf/src/main/resources/templates/convert/eml-to-pdf.html @@ -7,62 +7,64 @@ +
-
+
+
-
-
-
-
- email - -
-
-
-
- -
- - -
-
- -
-
- - -
- -
- - -
- - -
- -
- -
-
-

-
    -
  • -
  • -
  • -
-
-
-
- - -
-
+
+
+ email +
+

+
+
+
+ +
+ + +
+
+ +
+
+ + +
+ +
+ + +
+
+ +
+ +
+
+

+
    +
  • +
  • +
  • +
+
+
+
+ +
+
+ +
+
+
@@ -75,11 +77,13 @@ const downloadHtml = document.getElementById('downloadHtml'); const pdfOnlyOptions = document.getElementById('pdfOnlyOptions'); const submitBtn = document.getElementById('submitBtn'); + const submitText = /*[[#{EMLToPDF.submit}]]*/ 'Convert to PDF'; + const downloadHtmlText = 'Download HTML intermediate file instead of PDF'; function updateFormState() { if (pdfOnlyOptions && submitBtn) { pdfOnlyOptions.style.display = downloadHtml.checked ? 'none' : 'block'; - submitBtn.textContent = downloadHtml.checked ? 'Download HTML' : '[[#{EMLToPDF.submit}]]'; + submitBtn.textContent = downloadHtml.checked ? downloadHtmlText : submitText; } }