aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md2
-rw-r--r--templates/email/default/_email_settings.html3
-rw-r--r--templates/email/default/questionnaire.html3
-rw-r--r--templates/email/fixamingata/questionnaire.html3
4 files changed, 11 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 018d69fcf..1b9b90878 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,8 @@
## Releases
* Unreleased
+ - Front end improvements:
+ - Include don't know link in questionnaire email. #1939
* v2.3.1 (12th February 2018)
- Front end improvements:
diff --git a/templates/email/default/_email_settings.html b/templates/email/default/_email_settings.html
index d94466c02..54abc2b50 100644
--- a/templates/email/default/_email_settings.html
+++ b/templates/email/default/_email_settings.html
@@ -43,9 +43,11 @@ button_border_radius = "4px" # a full CSS border-radius property
button_background_color = color_yellow
button_background_color_fixed = color_green_dark
button_background_color_notfixed = color_red_dark
+button_background_color_dontknow = color_yellow
button_text_color = color_black
button_text_color_fixed = color_white
button_text_color_notfixed = color_white
+button_text_color_dontknow = color_black
button_font_weight = "bold"
%]
@@ -101,6 +103,7 @@ contact_td_style = "vertical-align: top; padding: 0.4em 0 0.4em 0; width: 100%;"
button_style = "display: inline-block; border: 10px solid $button_background_color; border-width: 10px 15px; border-radius: $button_border_radius; background-color: $button_background_color; color: $button_text_color; font-size: 18px; line-height: 21px; font-weight: $button_font_weight; text-decoration: underline;"
fixed_button_style = "$button_style border-color: $button_background_color_fixed; background-color: $button_background_color_fixed; color: $button_text_color_fixed; margin: 0 0.2em;"
notfixed_button_style = "$button_style border-color: $button_background_color_notfixed; background-color: $button_background_color_notfixed; color: $button_text_color_notfixed; margin: 0 0.2em;"
+dontknow_button_style = "$button_style border-color: $button_background_color_dontknow; background-color: $button_background_color_dontknow; color: $button_text_color_dontknow; margin: 0 0.2em;"
%]
diff --git a/templates/email/default/questionnaire.html b/templates/email/default/questionnaire.html
index 6d9c32af4..854cac066 100644
--- a/templates/email/default/questionnaire.html
+++ b/templates/email/default/questionnaire.html
@@ -19,6 +19,9 @@ INCLUDE '_email_top.html';
<a style="[% fixed_button_style %]" href="[% url %]">Fixed</a>
<a style="[% notfixed_button_style %]" href="[% url %]">Not fixed</a>
</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% dontknow_button_style %]" href="[% url %]">Don’t know</a>
+ </p>
<p style="[% p_style %]">Thank you! Your feedback is really valuable.</p>
[% end_padded_box %]
</th>
diff --git a/templates/email/fixamingata/questionnaire.html b/templates/email/fixamingata/questionnaire.html
index 0f15b478e..0d3fc90c4 100644
--- a/templates/email/fixamingata/questionnaire.html
+++ b/templates/email/fixamingata/questionnaire.html
@@ -19,6 +19,9 @@ INCLUDE '_email_top.html';
<a style="[% fixed_button_style %]" href="[% url %]">Fixat</a>
<a style="[% notfixed_button_style %]" href="[% url %]">Ej fixat</a>
</p>
+ <p style="margin: 20px auto; text-align: center">
+ <a style="[% dontknow_button_style %]" href="[% url %]">Vet ej</a>
+ </p>
<p style="[% p_style %]">Tack! Din feedback är värdefull.</p>
[% end_padded_box %]
</th>