+ <% if (warnings.length) { %>
+
+
+
+
+ <%= warnings.map(({warning}) => warning.message).join(", ") %>
+
+
+
+ <% } %>
+
<% for (const partial of [...partials]) { %>
<%- await include(`partials/${partial}.ejs`) %>
<% } %>
diff --git a/source/templates/classic/style.css b/source/templates/classic/style.css
index 361a9348..57ef1ff4 100644
--- a/source/templates/classic/style.css
+++ b/source/templates/classic/style.css
@@ -103,6 +103,12 @@
.field.error svg {
fill: #cb2431;
}
+ .field.warning {
+ color: #D79533;
+ }
+ .field.warning svg {
+ fill: #D79533;
+ }
/* Displays */
.row {
diff --git a/source/templates/repository/image.svg b/source/templates/repository/image.svg
index a8ac7fa3..2a44e630 100644
--- a/source/templates/repository/image.svg
+++ b/source/templates/repository/image.svg
@@ -7,6 +7,16 @@
+ <% if (warnings.length) { %>
+
+
+
+
+ <%= warnings.map(({warning}) => warning.message).join(", ") %>
+
+
+
+ <% } %>
<% if (errors.length) { %>
diff --git a/source/templates/terminal/image.svg b/source/templates/terminal/image.svg
index ac064701..28918752 100644
--- a/source/templates/terminal/image.svg
+++ b/source/templates/terminal/image.svg
@@ -51,6 +51,7 @@ WARRANTY, to the extent permitted by applicable law.
Last generated: <%= meta.generated %>
<% } -%>
+<% if (warnings.length) { %><%- warnings.map(({warning}) => `WARN: ${warning.message}`).join("
") %>
<% } %><%# -%>
<% for (const partial of [...partials]) { %><%- await include(`partials/${partial}.ejs`) %><% } -%>
<% if (base.metadata) { -%>
diff --git a/source/templates/terminal/style.css b/source/templates/terminal/style.css
index d2e60a55..3492118e 100644
--- a/source/templates/terminal/style.css
+++ b/source/templates/terminal/style.css
@@ -62,6 +62,10 @@
.banner, footer {
color: #AE9DA7;
}
+ .warnings {
+ color: #D79533;
+ white-space: normal;
+ }
/* Isocalendar */
.isocalendar svg {