diff --git a/src/base.ts b/src/base.ts
index 6158aec..00818fa 100644
--- a/src/base.ts
+++ b/src/base.ts
@@ -48,10 +48,7 @@ export interface ScaleOptions {
maxLegend: string;
minLegend: string;
ratings: Rating[];
- width: {
- absolute: number;
- relative: number;
- };
+ width: number;
}
export interface LongTextOptions {
diff --git a/src/helpers/current-date.ts b/src/helpers/current-date.ts
new file mode 100644
index 0000000..b48116f
--- /dev/null
+++ b/src/helpers/current-date.ts
@@ -0,0 +1,3 @@
+export default function CurrentDateHelper() {
+ return new Date().toUTCString();
+}
diff --git a/src/partials/number-scale.hbs b/src/partials/number-scale.hbs
index d93054c..03819f5 100644
--- a/src/partials/number-scale.hbs
+++ b/src/partials/number-scale.hbs
@@ -20,7 +20,7 @@
width="100%">
- |
-
+
-
+
@@ -66,9 +66,9 @@
{{#each ratings}}
-
+
@@ -126,13 +126,13 @@
-
+
- |
@@ -141,13 +141,13 @@
-
+
-
+
diff --git a/src/partials/survey-layout.hbs b/src/partials/survey-layout.hbs
index ad1eeaa..d6c93bf 100644
--- a/src/partials/survey-layout.hbs
+++ b/src/partials/survey-layout.hbs
@@ -33,6 +33,9 @@
{{> bot-honeypot-link url=botHoneypotUrl}}
{{/if}}
+ {{!-- Windows10 Mail fix for background-color --}}
+
+
@@ -110,17 +113,17 @@
-
+
-
+ |
{{#if showPoweredBy}}
-
-
+
-
+ |
{{#if unsubscribeUrl}}
-
+ Generated on {{current-date}}
+ |
+
{{#unless preview}}
| | | | | | |