From: Leonidas Poulopoulos Date: Wed, 18 Jan 2012 11:15:12 +0000 (+0200) Subject: Added required registration template files. Closes #1873 X-Git-Tag: v0.7^0 X-Git-Url: https://code.grnet.gr/git/flowspy/commitdiff_plain/fa232561f432047e97f2f7593bd369878e437732 Added required registration template files. Closes #1873 --- diff --git a/templates/registration/activate.html b/templates/registration/activate.html new file mode 100644 index 0000000..8ac78a8 --- /dev/null +++ b/templates/registration/activate.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% load i18n %} +{% block title %}{% trans "Activation Complete" %}{% endblock %} +{% block brcrmb_container %}{% endblock %} +{% block content %} +
+

{% trans "Activation Status" %}

+{% if account %} +

{{account}} {% trans "succesfully activated" %}

+{% else %} +

{% trans "The user has probably been already activated." %}

+{% endif %} +
+{% endblock %} diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html new file mode 100644 index 0000000..da5020f --- /dev/null +++ b/templates/registration/activation_complete.html @@ -0,0 +1,10 @@ +{% extends "base.html" %} +{% load i18n %} +{% block title %}{% trans "Activation Complete" %}{% endblock %} +{% block brcrmb_container %}{% endblock %} +{% block content %} +
+

{% trans "Activation Complete" %}

+

{% trans "The user will be notified about his/her account activation" %}

+
+{% endblock %} diff --git a/templates/registration/activation_complete.txt b/templates/registration/activation_complete.txt new file mode 100644 index 0000000..8b8c0d4 --- /dev/null +++ b/templates/registration/activation_complete.txt @@ -0,0 +1,11 @@ +Ο λογαριασμός σας με όνομα χρήστη «{{user.username}}» ενεργοποιήθηκε. +Μπορείτε να χρησιμοποιήσετε την υπηρεσία FoD, κάνοντας login στην παρακάτω +διεύθυνση: + + http://{{ site.domain }}{% url login %} + +--------------------------------------------------------------------------- +Your account with username “{{ user.username }}” has been activated. +You may login to FoD using the following URL: + + http://{{ site.domain }}{% url login %} diff --git a/templates/registration/activation_complete_subject.txt b/templates/registration/activation_complete_subject.txt new file mode 100644 index 0000000..b8a4d19 --- /dev/null +++ b/templates/registration/activation_complete_subject.txt @@ -0,0 +1 @@ +Activation complete \ No newline at end of file diff --git a/templates/registration/activation_email.txt b/templates/registration/activation_email.txt new file mode 100644 index 0000000..2636e35 --- /dev/null +++ b/templates/registration/activation_email.txt @@ -0,0 +1,25 @@ +Ο/H {{ user.get_full_name }} έκανε αίτηση για νεό λογαριασμό στην υπηρεσία. + +Όνομα χρήστη: {{ user.username }} +E-mail: {{ user.email }} + +Για να ενεργοποιήσετε το λογαριασμό και να επιτρέψετε στο χρήστη να +χρησιμοποιήσει την υπηρεσία, επισκεφθείτε τον ακόλουθο σύνδεσμο: + +http://{{ site.domain }}{% url activate_account activation_key %} + +Ο χρήστης θα ενημερωθεί για την ενεργοποίηση του λογαριασμού του μέσω e-mail. + +----------------------------------------------------------------------------- + +{{ user.get_full_name }} has registered for a new account. + +Username: {{user.username}} +E-mail: {{user.email}} + +To activate the user's account and allow them to access the service, click on +the following link: + +http://{{ site.domain }}{% url activate_account activation_key %} + +The user will be notified via mail about the account activation diff --git a/templates/registration/activation_email_subject.txt b/templates/registration/activation_email_subject.txt new file mode 100644 index 0000000..71befff --- /dev/null +++ b/templates/registration/activation_email_subject.txt @@ -0,0 +1 @@ +Account registered at {{ site.name }}