Skip to content

Commit 4721825

Browse files
committed
Tidy notification templates URL prefixes
1 parent 41b4bac commit 4721825

8 files changed

Lines changed: 12 additions & 12 deletions

File tree

assets

notifications/templates/design/foot3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{% if not hide_preferences %}
1414
{% for record in records|slice:":1" %}
1515
<td class="text-default pl-10" style="padding-left: 10px;font-style: normal;font-weight: 300;font-size: 12px;line-height: 18px">
16-
<a href="https://{{ record.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;">Unsubscribe</a>
16+
<a href="{{ record.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;">Unsubscribe</a>
1717
</td>
1818
{% endfor %}
1919
{% endif %}

notifications/templates/design/main_newop2.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{% if op.follow_url %}
2222
<tr>
2323
<td class="text-center text-default pb-50" style="padding-bottom: 50px;text-align: center;">
24-
<a href="https://{{ op.follow_url }}" class="button button-red" style="font-weight: 500;font-size: 14px;line-height: 21px;padding: 4px 16px;text-align: center;letter-spacing: 0.5px;white-space: nowrap;vertical-align: middle;background: none;text-decoration: none;border: 1px solid #F5333F;border-radius: 20px;background-color: #F5333F;color: #FFF">
24+
<a href="{{ op.follow_url }}" class="button button-red" style="font-weight: 500;font-size: 14px;line-height: 21px;padding: 4px 16px;text-align: center;letter-spacing: 0.5px;white-space: nowrap;vertical-align: middle;background: none;text-decoration: none;border: 1px solid #F5333F;border-radius: 20px;background-color: #F5333F;color: #FFF">
2525
Follow This Operation
2626
</a>
2727
</td>
@@ -122,7 +122,7 @@
122122
<span style="font-weight: 300;font-size: 12px;line-height: 18px;color: #6F6F6F;">{{ fr.updated_at|date:'d-m-Y' }}
123123
</td>
124124
<td style="margin-top: 0.4rem;text-align: right; width: 10%">
125-
<a href="https://{{ op.frontend_url }}/reports/{{ fr.id }}" class="button button-red" style="font-family: Poppins, Arial, sans-serif;font-style: normal;font-weight: 500;font-size: 14px;letter-spacing: 0.5px;padding: 2px 16px;white-space: nowrap;vertical-align: middle;text-decoration: none;border: 1px solid #F5333F;border-radius: 20px;background-color: #F5333F; color: #FFF"
125+
<a href="{{ op.frontend_url }}/reports/{{ fr.id }}" class="button button-red" style="font-family: Poppins, Arial, sans-serif;font-style: normal;font-weight: 500;font-size: 14px;letter-spacing: 0.5px;padding: 2px 16px;white-space: nowrap;vertical-align: middle;text-decoration: none;border: 1px solid #F5333F;border-radius: 20px;background-color: #F5333F; color: #FFF"
126126
>View Full Report
127127
</a>
128128
</td>
@@ -136,7 +136,7 @@
136136
<tr>
137137
<td class="text-default pt-40 pl-20" style="padding-top: 40px; padding-left: 20px;font-style: normal;font-weight: 300;font-size: 12px;line-height: 18px"
138138
>You are receiving this update based on your selected preferences. &nbsp;
139-
<a href="https://{{ op.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;"
139+
<a href="{{ op.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;"
140140
>Update your preferences
141141
</a>
142142
</td>

notifications/templates/design/main_newop3.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{% if op.follow_url %}
2323
<tr>
2424
<td class="text-center pb-50" style="text-align: center;">
25-
<a href="https://{{ op.follow_url }}" target="_blank" class="link"
25+
<a href="{{ op.follow_url }}" target="_blank" class="link"
2626
><img src="{{ 'images/email/FollowThisOperation.png' | static_full_path }}"></a>
2727
</a>
2828
</td>
@@ -123,7 +123,7 @@
123123
<span style="font-weight: 300;font-size: 12px;line-height: 18px;color: #6F6F6F;">{{ fr.updated_at|date:'d-m-Y' }}
124124
</td>
125125
<td style="margin-top: 0.4rem; width: 10%">
126-
<a href="https://{{ op.frontend_url }}/reports/{{ fr.id }}" style="padding: 2px 16px;vertical-align: middle;"
126+
<a href="{{ op.frontend_url }}/reports/{{ fr.id }}" style="padding: 2px 16px;vertical-align: middle;"
127127
><img src="{{ 'images/email/ViewFullReport.png' | static_full_path }}"></a>
128128
</a>
129129
</td>
@@ -137,7 +137,7 @@
137137
<tr>
138138
<td class="text-default pt-40 pl-20" style="padding-top: 40px; padding-left: 20px;font-style: normal; font-weight: 300;font-size: 12px;line-height: 18px"
139139
>You are receiving this update based on your selected preferences. &nbsp;
140-
<a href="https://{{ op.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;"
140+
<a href="{{ op.frontend_url }}/account#notifications" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: underline;color: #000;"
141141
>Update your preferences
142142
</a>
143143
</td>

notifications/templates/email/new_appeal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p><i><a href="https://{{ resource_uri }}">View this data on IFRC GO.</a></i>
1+
<p><i><a href="{{ resource_uri }}">View this data on IFRC GO.</a></i>
22
{% include "includes/logo.html" %}</p>
33

44
<h3>{{ dtype }} | {{ atype}}</h3>

notifications/templates/email/new_event.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p><i><a href="https://{{ resource_uri }}">View this data on IFRC GO.</a></i>
1+
<p><i><a href="{{ resource_uri }}">View this data on IFRC GO.</a></i>
22
{% include "includes/logo.html" %}</p>
33

44
<h3>{{ dtype }}</h3>

notifications/templates/email/new_report.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<p><i><a href="https://{{ resource_uri }}">View this data on IFRC GO.</a></i>
1+
<p><i><a href="{{ resource_uri }}">View this data on IFRC GO.</a></i>
22
{% include "includes/logo.html" %}</p>
33

44
<h3>{{ dtype }}</h3>

notifications/templates/registration/success.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ <h2>It is a great day!{% include "includes/logo.html" %}</h2>
44

55
<p>If you do experience any problems, please contact <a href="mailto:im@ifrc.org">im@ifrc.org</a>.</p>
66

7-
<p>You can start your IFRC GO experience <a href="https://{{ frontend_url }}/login">here</a>.</p>
7+
<p>You can start your IFRC GO experience <a href="{{ frontend_url }}/login">here</a>.</p>
88

99
<p>Thank you,</p>
1010

0 commit comments

Comments
 (0)