Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

remove django-email-verification package code (github issue=2258) --- additional files added

pankaj-basnet593bcf56e710
diff --git a/wger/core/templates/account/email/email_confirmation_signup_message.html b/wger/core/templates/account/email/email_confirmation_signup_message.html
new file mode 100644
index 000000000..5349205a2
--- /dev/null
+++ b/wger/core/templates/account/email/email_confirmation_signup_message.html
@@ -0,0 +1,13 @@
+{% load i18n %}
+{% load account %}
+<html>
+<body>
+ {# Using wger's friendly tone with Allauth's variables #}
+ <p>{% blocktranslate with username=user.username %}You are almost there, {{ username }}!{% endblocktranslate %}</p>
+ <br>
+ <p>{% blocktranslate %}Please click <a href="{{ activate_url }}">here</a> to confirm your email{% endblocktranslate %}</p>
+
+ {# Note: Allauth doesn't pass 'expiry' by default in the same way, we usually rely on settings #}
+ <p><i>{% translate 'the wger Team' %}</i></p>
+</body>
+</html>
\ No newline at end of file