Added required registration template files. Closes #1873 v0.7
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 18 Jan 2012 11:15:12 +0000 (13:15 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Wed, 18 Jan 2012 11:15:12 +0000 (13:15 +0200)
templates/registration/activate.html [new file with mode: 0644]
templates/registration/activation_complete.html [new file with mode: 0644]
templates/registration/activation_complete.txt [new file with mode: 0644]
templates/registration/activation_complete_subject.txt [new file with mode: 0644]
templates/registration/activation_email.txt [new file with mode: 0644]
templates/registration/activation_email_subject.txt [new file with mode: 0644]

diff --git a/templates/registration/activate.html b/templates/registration/activate.html
new file mode 100644 (file)
index 0000000..8ac78a8
--- /dev/null
@@ -0,0 +1,14 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% block title %}{% trans "Activation Complete" %}{% endblock %}
+{% block brcrmb_container %}{% endblock %}
+{% block content %}
+<div align="center" id="registration">
+    <h3>{% trans "Activation Status" %}</h3>
+{% if account %}
+    <p>{{account}} {% trans "succesfully activated" %}</p>
+{% else %}
+    <p>{% trans "The user has probably been already activated." %}</p>
+{% endif %}
+</div>
+{% endblock %}
diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html
new file mode 100644 (file)
index 0000000..da5020f
--- /dev/null
@@ -0,0 +1,10 @@
+{% extends "base.html" %}
+{% load i18n %}
+{% block title %}{% trans "Activation Complete" %}{% endblock %}
+{% block brcrmb_container %}{% endblock %}
+{% block content %}
+<div align="center" id="registration">
+<h3>{% trans "Activation Complete" %}</h3>
+<p>{% trans "The user will be notified about his/her account activation" %}</p>
+</div>
+{% endblock %}
diff --git a/templates/registration/activation_complete.txt b/templates/registration/activation_complete.txt
new file mode 100644 (file)
index 0000000..8b8c0d4
--- /dev/null
@@ -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 (file)
index 0000000..b8a4d19
--- /dev/null
@@ -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 (file)
index 0000000..2636e35
--- /dev/null
@@ -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 (file)
index 0000000..71befff
--- /dev/null
@@ -0,0 +1 @@
+Account registered at {{ site.name }}