X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/1a949f7c97dc2f34c135f5cdf088df2927d3d652..32714afe3043fe7223189f6a08932b186885b029:/forum/skins/default/templates/auth/email_validation.html diff --git a/forum/skins/default/templates/auth/email_validation.html b/forum/skins/default/templates/auth/email_validation.html index a4126a6..8746e56 100644 --- a/forum/skins/default/templates/auth/email_validation.html +++ b/forum/skins/default/templates/auth/email_validation.html @@ -1,20 +1,46 @@ -{% extends "email_base.html" %} -{% load i18n %} -{% load extra_tags %} - -{% block content %} -

{% trans "Greetings from the Q&A forum" %},

- -

{% trans "To make use of the Forum, please follow the link below:" %}

- - {% fullurl auth_validate_email user=user.id,code=validation_code %} - -

{% trans "Following the link above will help us verify your email address." %}

- -

{% 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 %}

- -

{% blocktrans %}Sincerely,
- Forum Administrator{% endblocktrans %}

-{% endblock %} +{% load i18n extra_tags email_tags %} + +{% declare %} + prefix = settings.EMAIL_SUBJECT_PREFIX + app_name = settings.APP_SHORT_NAME + + exclude_greeting = True + exclude_finetune = True +{% enddeclare %} + +{% email %} + {% subject %}{% blocktrans %}{{ prefix }} Welcome to {{ app_name }}{% endblocktrans %}{% endsubject %} + + {% htmlcontent notifications/base.html %} +

+ {% blocktrans %}Howdy and welcome to {{ app_name }}. We know you're busy, so we'll keep this real simple.{% endblocktrans %} %}, +

+ +

{% trans "Here's your login info (store it in a cool dry place):" %}

+ +

{% trans "Username: " %} {{ recipient.username }}
+ {% trans "Password: As IF we would send your password in cleartext!" %}

+ +

{% trans "The following link will help us verify your email address:" %}

+ + {% trans "Validate my email address" %} + +

{% trans "If the above link is not clickable, copy and paste this url into your web browser's address bar:" %}

+ +

{% fullurl auth_validate_email user=recipient.id,code=validation_code %}

+ {% endhtmlcontent %} + +{% textcontent notifications/base_text.html %} +{% blocktrans %}Howdy and welcome to {{ app_name }}. We know you're busy, so we'll keep this real simple.{% endblocktrans %} %}, +{% trans "Here's your login info (store it in a cool dry place):" %} + +{% trans "Username: " %} {{ recipient.username }} +{% trans "Password: As IF we would send your password in cleartext!" %} + +{% trans "Copy and paste this url into your web browser's address bar to help us verify your email address:" %} + +{% fullurl auth_validate_email user=recipient.id,code=validation_code %} +{% endtextcontent %} + +{% endemail %} +