Skip to content

Commit 79cc045

Browse files
committed
refactor(notification): improve link texts in HTML-templates
KK-1441. Instead of showing the long and ugly URL, now when we are using HTML-formatted notification templates, we could also use some text as a link instead of the URL (as text).
1 parent 21e1ab2 commit 79cc045

15 files changed

Lines changed: 23 additions & 23 deletions

notification_importers/templates/email/event_group_published-en.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Greetings Culture Kid!</h1>
1111

1212
<p>
1313
Sign up and read more in our service:
14-
<a href="{{ event_group_url }}">{{ event_group_url }}</a>
14+
<a href="{{ event_group_url }}">Sign up</a>
1515
</p>
1616

1717
<h2>Culture Kids</h2>
@@ -36,7 +36,7 @@ <h2>Culture Kids</h2>
3636

3737
<p>
3838
I no longer want to receive email about the publication of events:
39-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
39+
<a href="{{unsubscribe_url}}">Unsubscribe</a>
4040
</p>
4141
</body>
4242
</html>

notification_importers/templates/email/event_group_published-fi.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Hei Kulttuurin kummilapsi!</h1>
1111

1212
<p>
1313
Ilmoittaudu ja lue lisää osoitteessa:
14-
<a href="{{ event_group_url }}">{{ event_group_url }}</a>
14+
<a href="{{ event_group_url }}">Ilmoittautuminen</a>
1515
</p>
1616

1717
<h2>Kulttuurin kummilapset</h2>
@@ -34,7 +34,7 @@ <h2>Kulttuurin kummilapset</h2>
3434

3535
<p>
3636
En halua enää viestejä kummitapahtumien julkaisusta:
37-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
37+
<a href="{{unsubscribe_url}}">Peruuta viestien tilaus</a>
3838
</p>
3939
</body>
4040
</html>

notification_importers/templates/email/event_group_published-sv.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Bästa Kulturens fadderbarn!</h1>
1111

1212
<p>
1313
Anmäl dig och läs mer på:
14-
<a href="{{ event_group_url }}">{{ event_group_url }}</a>
14+
<a href="{{ event_group_url }}">Anmäl dig</a>
1515
</p>
1616

1717
<h2>Kulturens fadderbarn</h2>
@@ -34,7 +34,7 @@ <h2>Kulturens fadderbarn</h2>
3434

3535
<p>
3636
Jag vill inte ha några fler meddelanden om publicering av evenemang:
37-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
37+
<a href="{{unsubscribe_url}}">Avsluta prenumerationen</a>
3838
</p>
3939
</body>
4040
</html>

notification_importers/templates/email/event_published-en.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Greetings, Culture Kid!</h1>
1111

1212
<p>
1313
Sign up in our service:
14-
<a href="{{ event_url }}">{{ event_url }}</a>
14+
<a href="{{ event_url }}">Sign up</a>
1515
</p>
1616

1717
<h2>Culture Kids</h2>
@@ -36,7 +36,7 @@ <h2>Culture Kids</h2>
3636

3737
<p>
3838
I no longer want to receive email about the publication of events:
39-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
39+
<a href="{{unsubscribe_url}}">Unsubscribe</a>
4040
</p>
4141
</body>
4242
</html>

notification_importers/templates/email/event_published-fi.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ <h1>Hei Kulttuurin kummilapsi!</h1>
1010
<p>{{ event.description }}</p>
1111

1212
<p>
13-
Ilmoittaudu osoitteessa:
14-
<a href="{{ event_url }}">{{ event_url }}</a>
13+
Ilmoittaudu tästä:
14+
<a href="{{ event_url }}">Ilmoittaudu</a>
1515
</p>
1616

1717
<h2>Kulttuurin kummilapset</h2>
@@ -34,7 +34,7 @@ <h2>Kulttuurin kummilapset</h2>
3434

3535
<p>
3636
En halua enää viestejä kummitapahtumien julkaisusta:
37-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
37+
<a href="{{unsubscribe_url}}">Peruuta viestien tilaus</a>
3838
</p>
3939
</body>
4040
</html>

notification_importers/templates/email/event_published-sv.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ <h1>Bästa Kulturens fadderbarn!</h1>
1111

1212
<p>
1313
Anmäl dig på:
14-
<a href="{{ event_url }}">{{ event_url }}</a>
14+
<a href="{{ event_url }}">Anmäl dig</a>
1515
</p>
1616

1717
<h2>Kulturens fadderbarn</h2>
@@ -34,7 +34,7 @@ <h2>Kulturens fadderbarn</h2>
3434

3535
<p>
3636
Jag vill inte längre få e-post om publiceringen av evenemang:
37-
<a href="{{unsubscribe_url}}">{{unsubscribe_url}}</a>
37+
<a href="{{unsubscribe_url}}">Avsluta prenumerationen</a>
3838
</p>
3939
</body>
4040
</html>

notification_importers/templates/email/free_spot-en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<p>
1515
Sign up at:
16-
<a href="{{ occurrence_enrol_url }}">{{ occurrence_enrol_url }}</a>
16+
<a href="{{ occurrence_enrol_url }}">Sign up</a>
1717
</p>
1818

1919
<p>

notification_importers/templates/email/free_spot-fi.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
</p>
1313

1414
<p>
15-
Ilmoittaudu osoitteessa:
16-
<a href="{{ occurrence_enrol_url }}">{{ occurrence_enrol_url }}</a>
15+
Ilmoittaudu tästä:
16+
<a href="{{ occurrence_enrol_url }}">Ilmoittaudu</a>
1717
</p>
1818

1919
<p>

notification_importers/templates/email/free_spot-sv.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<p>
1515
Anmäl dig på:
16-
<a href="{{ occurrence_enrol_url }}">{{ occurrence_enrol_url }}</a>
16+
<a href="{{ occurrence_enrol_url }}">Anmäl dig</a>
1717
</p>
1818

1919
<p>

notification_importers/templates/email/occurrence_enrolment-en.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>Cancellation of participation</h2>
2424
If you are unable to attend the event, please cancel your participation on
2525
the event page. From August 2025, you must cancel at least 48 hours before
2626
the event.<br />
27-
<a href="{{ occurrence_url }}">{{ occurrence_url }}</a>
27+
<a href="{{ occurrence_url }}">Cancel enrolment</a>.
2828
</p>
2929

3030
<address>

0 commit comments

Comments
 (0)