X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/58f020d4fab8251103edb89bfc4cf5d5d389d1ad..c07bef148aa59e35fe84e0c0cc8acff2cb5c6ee5:/forum/skins/default/templates/auth/temp_login_email.html diff --git a/forum/skins/default/templates/auth/temp_login_email.html b/forum/skins/default/templates/auth/temp_login_email.html index 8a23f65..32ade89 100644 --- a/forum/skins/default/templates/auth/temp_login_email.html +++ b/forum/skins/default/templates/auth/temp_login_email.html @@ -1,21 +1,31 @@ -{% extends "email_base.html" %} -{% load i18n %} -{% load extra_tags %} -{% load email_tags %} +{% load i18n extra_tags email_tags %} -{% block content %} -
{% trans "Greetings from the Q&A forum" %},
+{% declare %} + prefix = settings.EMAIL_SUBJECT_PREFIX + app_name = settings.APP_SHORT_NAME -{% trans "You're seeing this because someone requested a temporary login link" %}
+ exclude_finetune = True +{% enddeclare %} - {% fullurl auth_tempsignin user=user.id,code=temp_login_code %} +{% email %} + {% subject %}{% blocktrans %}{{ prefix }} Temporary login link{% endblocktrans %}{% endsubject %} -{% trans "Following the link above will give you access to your account." %}
+ {% htmlcontent notifications/base.html %} ++ {% blocktrans %}The following link grants you a one time access to your account at {{ app_name }}.{% endblocktrans %} +
+{% trans "Go to your account" %}
-{% blocktrans %}If you beleive that this message was sent in mistake - - no further action is needed. Just ingore this email, we apologize - for any inconvenience{% endblocktrans %}
+{% trans "If the above link is not clickable, copy and paste this url into your web browser's address bar:" %}
+ +{% fullurl auth_tempsignin user=recipient.id,code=temp_login_code %}
+ {% endhtmlcontent %} + +{% textcontent notifications/base_text.html %} +{% blocktrans %}The following url grants you a one time access to your account at {{ app_name }}.{% endblocktrans %} + +{% fullurl auth_tempsignin user=recipient.id,code=temp_login_code %} +{% endtextcontent %} + +{% endemail %} -{% blocktrans %}Sincerely,
- Forum Administrator{% endblocktrans %}