Skip to content

Commit 41e7f80

Browse files
gerardm27AdriMM26
andauthored
Changed color to mails buttons and links [Missing 2024 Banner] (#291)
* Changed color to mails buttons and links * Changed mail closing link from FB to IG * Added travel closing message only to relevant emails * Added new mail header --------- Co-authored-by: Adri <[email protected]>
1 parent f045b47 commit 41e7f80

15 files changed

+25
-22
lines changed

app/static/logo.png

89.1 KB
Loading

app/static/logo_old3.png

2.78 MB
Loading

app/templates/base_email.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<title>{{ subject }}</title>
99
<style type="text/css">
1010
a {
11-
color: #BEB771;
11+
color: #7F27A2;
1212
text-decoration: none;
1313
-webkit-transition: all .1s linear;
1414
-moz-transition: all .1s linear;
@@ -17,7 +17,7 @@
1717
}
1818

1919
a:hover, a:active, a:focus {
20-
color: #67622f;
20+
color: #7F27A2;
2121
text-decoration: none;
2222
}
2323

@@ -102,12 +102,12 @@
102102
}
103103

104104
.btn-primary table td:hover {
105-
background-color: #67622f !important;
105+
background-color: #410658 !important;
106106
}
107107

108108
.btn-primary a:hover {
109-
background-color: #67622f !important;
110-
border-color: #67622f !important;
109+
background-color: #410658 !important;
110+
border-color: #410658 !important;
111111
}
112112
}
113113
</style>
+8-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
11
<p>
22
Have any other questions? Email us at {{ h_contact_email|urlize }}
3-
{% if h_fb or h_tw %}
3+
{% if h_ig or h_tw %}
44
or message us on
5-
{% if h_fb %}
5+
{% if h_ig %}
66
{% if h_tw %}
7-
<a href="https://facebook.com/{{ h_fb }}" target="_blank">Facebook</a>
8-
and
7+
<a href="https://instagram.com/{{ h_ig }}" target="_blank">Instagram</a>
8+
or
99
<a href="https://twitter.com/{{ h_tw }}" target="_blank">Twitter</a>.
1010
{% else %}
11-
<a href="https://facebook.com/{{ h_fb }}" target="_blank">Facebook</a>.
11+
<a href="https://instagram.com/{{ h_ig }}" target="_blank">Instagram</a>.
1212
{% endif %}
1313
{% elif h_tw %}
1414
<a href="https://twitter.com/{{ h_tw }}" target="_blank">Twitter</a>.
1515
{% endif %}
1616
{% endif %}
1717
</p>
18+
{% if travel == "true" %}
19+
<p>If you have any questions regarding Travel Reimbursments, please reach us out at <a href="mailto:[email protected]">[email protected]</a>.</p>
20+
{% endif %}
1821
<p>We hope to see you at {{ h_name }}!</p>
1922
<p>Best, {{ h_name }} Team.</p>

app/templates/mails/include/email_button.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;width:100%;width:auto;">
1010
<tbody>
1111
<tr>
12-
<td style="font-family:sans-serif;font-size:14px;vertical-align:top;background-color:#BEB771;border-radius:5px;text-align:center; margin: 0 auto;">
12+
<td style="font-family:sans-serif;font-size:14px;vertical-align:top;background-color:#7F27A2;border-radius:5px;text-align:center; margin: 0 auto;">
1313
<a href="{{ url }}" target="_blank"
14-
style="text-decoration:underline;border:solid 1px #BEB771;border-radius:5px;box-sizing:border-box;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;margin:0;padding:12px 25px;text-decoration:none;text-transform:capitalize;background-color:#BEB771;color:#ffffff;">
14+
style="text-decoration:underline;border:solid 1px #7F27A2;border-radius:5px;box-sizing:border-box;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;margin:0;padding:12px 25px;text-decoration:none;text-transform:capitalize;background-color:#7F27A2;color:#ffffff;">
1515
{{ text }}
1616
</a>
1717
</td>

applications/templates/mails/confirmation_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
{% include 'mails/include/cancel.html' %}
1616
{% include 'mails/include/arrival_departure_info.html' %}
17-
{% include 'mails/include/closing.html' %}
17+
{% include 'mails/include/closing.html' with travel="false"%}
1818
{% endblock %}

applications/templates/mails/invitation_hacker_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@
2424
</p>
2525
{% endif %}
2626
{% include 'mails/include/arrival_departure_info.html' %}
27-
{% include 'mails/include/closing.html' %}
27+
{% include 'mails/include/closing.html' with travel="true"%}
2828
{% endblock %}

applications/templates/mails/invitation_mentor_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
{% include 'mails/include/email_button.html' with text='Confirm' url=confirm_url %}
2020
{% include 'mails/include/cancel.html' %}
2121
{% include 'mails/include/arrival_departure_info.html' %}
22-
{% include 'mails/include/closing.html' %}
22+
{% include 'mails/include/closing.html' with travel="false"%}
2323
{% endblock %}

applications/templates/mails/invitation_volunteer_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@
2626
</p>
2727
{% endif %}
2828
{% include 'mails/include/arrival_departure_info.html' %}
29-
{% include 'mails/include/closing.html' %}
29+
{% include 'mails/include/closing.html' with travel="false"%}
3030
{% endblock %}

applications/templates/mails/last_reminder_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
{% include 'mails/include/email_button.html' with text='Confirm' url=confirm_url %}
1616

1717
{% include 'mails/include/cancel.html' %}
18-
{% include 'mails/include/closing.html' %}
18+
{% include 'mails/include/closing.html' with travel="true"%}
1919
{% endblock %}

reimbursement/templates/mails/no_reimbursement_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
<p>Please remember to <a href="{{ confirm_url }}">confirm</a> your spot if you haven't already. If your plans
99
have changed, please let us know by cancelling your invite <a href="{{ cancel_url }}">here</a>.
1010
</p>
11-
{% include 'mails/include/closing.html' %}
11+
{% include 'mails/include/closing.html' with travel="false"%}
1212
{% endblock %}

reimbursement/templates/mails/reimbursement_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@
1111
<p>
1212
If you need an invite letter for your visa, send us a email to [email protected] with your full name, university name and passport number, as shown in your passport or if you have any questions, don't hesitate to contact us.
1313
</p>
14-
{% include 'mails/include/closing.html' %}
14+
{% include 'mails/include/closing.html' with travel="false"%}
1515
{% endblock %}

user/templates/mails/password_reset_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
</p>
1414
<p style="text-align: center;">{{ reset_url|urlize }}</p>
1515

16-
{% include 'mails/include/closing.html' %}
16+
{% include 'mails/include/closing.html' with travel="false"%}
1717

1818
{% endblock %}

user/templates/mails/sponsor_link_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@
2222
</p>
2323
<p style="text-align: center;">{{ app_sponsor_url|urlize }}</p>
2424

25-
{% include 'mails/include/closing.html' %}
25+
{% include 'mails/include/closing.html' with travel="false"%}
2626

2727
{% endblock %}

user/templates/mails/verify_email_message.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@
66
<p>You have 5 days to verify your email address for your account at {{ h_name }}.</p>
77
{% include 'mails/include/email_button.html' with text='Verify' url=activate_url %}
88

9-
{% include 'mails/include/closing.html' %}
9+
{% include 'mails/include/closing.html' with travel="true"%}
1010
{% endblock %}

0 commit comments

Comments
 (0)