diff --git a/src/fellchensammlung/mail.py b/src/fellchensammlung/mail.py index 211844a..2421787 100644 --- a/src/fellchensammlung/mail.py +++ b/src/fellchensammlung/mail.py @@ -48,7 +48,7 @@ def send_notification_email(notification_pk): elif notification.notification_type == NotificationTypeChoices.AN_WAS_DEACTIVATED: html_message = render_to_string('fellchensammlung/mail/notifications/an-deactivated.html', context) elif notification.notification_type == NotificationTypeChoices.AN_FOR_SEARCH_FOUND: - html_message = render_to_string('fellchensammlung/mail/notifications/report.html', context) + html_message = render_to_string('fellchensammlung/mail/notifications/an-for-search-found.html', context) elif notification.notification_type == NotificationTypeChoices.NEW_COMMENT: html_message = render_to_string('fellchensammlung/mail/notifications/new-comment.html', context) else: diff --git a/src/fellchensammlung/templates/fellchensammlung/mail/notifications/an-for-search-found.html b/src/fellchensammlung/templates/fellchensammlung/mail/notifications/an-for-search-found.html index 05517f4..fdd2850 100644 --- a/src/fellchensammlung/templates/fellchensammlung/mail/notifications/an-for-search-found.html +++ b/src/fellchensammlung/templates/fellchensammlung/mail/notifications/an-for-search-found.html @@ -8,9 +8,8 @@

Moin,

es wurde eine neue Vermittlung gefunden die deinen Kriterien entspricht: {{ notification.adoption_notice }} -

- {% translate 'Vermittlung anzeigen' %} + {% translate 'Vermittlung anzeigen' %}

{% endblock %} \ No newline at end of file