Skip to content

Commit 41b4bac

Browse files
committed
Fix notification templates to avoid duplicate scheme in Open in GO links
1 parent 723788b commit 41b4bac

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

assets

notifications/templates/design/head1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
<tr>
420420
{% for record in records|slice:":1" %}
421421
<td class="text-header text-default text-right" style="text-align: right;color: #000000;font-family:'Lato', Arial, sans-serif;">
422-
<a href="https://{{ record.resource_uri }}" target="_blank" class="link" style="font-family: 'Lato', Arial, sans-serif;text-decoration: underline;color: #000;">Open in GO</a>
422+
<a href="{{ record.resource_uri }}" target="_blank" class="link" style="font-family: 'Lato', Arial, sans-serif;text-decoration: underline;color: #000;">Open in GO</a>
423423
</td>
424424
{% endfor %}
425425
</tr>

notifications/templates/design/head2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
<tr>
420420
{% for record in records|slice:":1" %}
421421
<td class="text-header text-default text-center" style="font-family:Poppins, Arial, sans-serif ;display:block;float:right;width: 9rem;line-height: 21px;border: 1px solid #F5333F;box-sizing: border-box;border-radius: 12.5px;">
422-
<a href="https://{{ record.resource_uri }}" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: none ;font-style: normal;font-weight: 500;font-size: 14px;letter-spacing: 0.5px;color: #F5333F"
422+
<a href="{{ record.resource_uri }}" target="_blank" class="link" style="font-family: Poppins, Arial, sans-serif;text-decoration: none ;font-style: normal;font-weight: 500;font-size: 14px;letter-spacing: 0.5px;color: #F5333F"
423423
>Open in GO</a>
424424
</td>
425425
{% endfor %}

notifications/templates/design/head3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@
419419
<tr>
420420
{% for record in records|slice:":1" %}
421421
<td class="text-header text-default text-right" style="display:block; text-align: right;">
422-
<a href="https://{{ record.resource_uri }}" target="_blank" class="link"
422+
<a href="{{ record.resource_uri }}" target="_blank" class="link"
423423
><img
424424
src="{{ 'images/email/OpenInGO.png' | static_full_path }}"
425425
alt="Open in GO"

notifications/templates/design/main1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<tr>
2727
<td class="text-default td-global-font-style">
2828
{% autoescape off %}
29-
{{ record.content }} <br/><a href="https://{{ record.resource_uri }}" class="link">Read&nbsp;more</a>
29+
{{ record.content }} <br/><a href="{{ record.resource_uri }}" class="link">Read&nbsp;more</a>
3030
{% endautoescape %}
3131
</td>
3232
</tr>

notifications/templates/email/generic_notification.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ <h2>{{ record.title }}</h2>
88
{% autoescape off %}
99
<div>{{ record.content }}</div>
1010
{% endautoescape %}
11-
<p><a href="https://{{ record.resource_uri }}">Open in GO</a>
11+
<p><a href="{{ record.resource_uri }}">Open in GO</a>
1212
{% if is_staff %}
1313
| <a href="{{ record.admin_uri }}">Admin</a></p>
1414
{% endif %}

0 commit comments

Comments
 (0)