Skip to content
This repository has been archived by the owner on Nov 7, 2019. It is now read-only.

Commit

Permalink
apps/notifications/templates: wording changes and send module or proj…
Browse files Browse the repository at this point in the history
…ect link depending on timeline/cluster logic
  • Loading branch information
fuzzylogic2000 committed Sep 23, 2019
1 parent 690cfa9 commit 6b97c08
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends 'email_base.'|add:part_type %}
{% load verbose_name %}

{% block subject %}Beteiligung endet bald für {{ action.project.name }}{% endblock %}

Expand All @@ -9,10 +8,10 @@
{% block greeting %}Hallo {{ receiver.username }},{% endblock %}

{% block content %}die Online-Beteiligung im oben genannten Projekt endet bald.

<b>Sie können noch bis zum {{ action.obj.end_date }} Uhr daran teilnehmen.</b>{% endblock %}

{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_absolute_url }}{% endblock %}
{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_detail_url }}{% endblock %}
{% block cta_label %}Jetzt mitmachen{% endblock %}

{% block reason %}Diese E-Mail wurde an {{ receiver.email }} gesendet. Sie haben die E-Mail erhalten, weil Sie oben genanntem Projekt folgen. Wenn Sie keine Benachrichtigungen mehr erhalten möchten, entfolgen Sie dem <a href="{{ email.get_host }}{{ action.project.get_absolute_url }}">Projekt</a> oder ändern Sie die Einstellungen zu Ihrem <a href="{{ email.get_host }}{% url 'account' %}">Account</a>.{% endblock %}

Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% extends 'email_base.'|add:part_type %}
{% load verbose_name %}

{% block subject %}Participation ends soon for {{ action.project.name }}{% endblock %}

Expand All @@ -9,9 +8,10 @@
{% block greeting %}Hello {{ receiver.username }},{% endblock %}

{% block content %}the online participation in the above mentioned project will end soon.

<b>You can still participate until {{ action.obj.end_date }}.</b>{% endblock %}

{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_absolute_url }}{% endblock %}
{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_detail_url }}{% endblock %}
{% block cta_label %}Join now{% endblock %}

{% block reason %}This email was sent to {{ receiver.email }}. You have received the e-mail because you are following the above project. If you no longer want to receive notifications, unsubscribe from the <a href="{{ email.get_host }}{{ action.project.get_absolute_url }}">project</a> or change the settings for your <a href="{{ email.get_host }}{% url 'account' %}">account</a>.{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{% extends 'email_base.'|add:part_type %}

{% block subject %}{{ action.project.name }} startet jetzt!{% endblock %}
{% block subject %}Los geht's: {{ action.project.name }} startet jetzt!{% endblock %}

{% block headline %}Los geht’s!{% endblock %}
{% block sub-headline %}{{ action.project.name }}{% endblock %}

{% block greeting %}Hallo {{ receiver.username }},{% endblock %}

{% block content %}die Online-Beteiligung im oben genannten Projekt hat begonnen.

<b>Sie können bis zum {{ action.obj.end_date }} Uhr daran teilnehmen.</b>{% endblock %}

{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_absolute_url }}{% endblock %}
{% block cta_label %}Join now{% endblock %}
{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_detail_url }}{% endblock %}
{% block cta_label %}Jetzt mitmachen{% endblock %}

{% block reason %}Diese E-Mail wurde an {{ receiver.email }} gesendet. Sie haben die E-Mail erhalten, weil Sie oben genanntem Projekt folgen. Wenn Sie keine Benachrichtigungen mehr erhalten möchten, entfolgen Sie dem <a href="{{ email.get_host }}{{ action.project.get_absolute_url }}">Projekt</a> oder ändern Sie die Einstellungen zu Ihrem <a href="{{ email.get_host }}{% url 'account' %}">Account</a>.{% endblock %}
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{% extends 'email_base.'|add:part_type %}

{% block subject %}{{ action.project.name }} startet jetzt!{% endblock %}
{% block subject %}Here we go: {{ action.project.name }} starts now!{% endblock %}

{% block headline %}Here we go!{% endblock %}
{% block sub-headline %}{{ action.project.name }}{% endblock %}

{% block greeting %}Hello {{ receiver.username }},{% endblock %}

{% block content %}Online participation for the above project has started.

<b>You can participate untill {{ action.obj.end_date }}.</b>{% endblock %}

{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_absolute_url }}{% endblock %}
{% block cta_url %}{{ email.get_host }}{{ action.obj.module.get_detail_url }}{% endblock %}
{% block cta_label %}Join now{% endblock %}

{% block reason %}This email was sent to {{ receiver.email }}. You have received the e-mail because you are following the above project. If you no longer want to receive notifications, unsubscribe from the <a href="{{ email.get_host }}{{ action.project.get_absolute_url }}">project</a> or change the settings for your <a href="{{ email.get_host }}{% url 'account' %}">account</a>.{% endblock %}

0 comments on commit 6b97c08

Please sign in to comment.