aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/login.html3
-rw-r--r--pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mobin9187 -> 9296 bytes
-rw-r--r--pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po12
-rw-r--r--pyaggr3g470r/views.py2
4 files changed, 14 insertions, 3 deletions
diff --git a/pyaggr3g470r/templates/login.html b/pyaggr3g470r/templates/login.html
index 4f3b6c87..689b259f 100644
--- a/pyaggr3g470r/templates/login.html
+++ b/pyaggr3g470r/templates/login.html
@@ -26,5 +26,8 @@
{{ form.submit(class_="btn") }}
</form>
</div>
+ {% if email != '' %}
+ <p><a href="mailto:{{ email }}?subject=[pyAggr3g470r] {{ _('Account creation') }}">{{ _('Request an account.') }}</a></p>
+ {% endif %}
</div><!-- /.container -->
{% endblock %} \ No newline at end of file
diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
index 0bba8ddc..788fca40 100644
--- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
+++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.mo
Binary files differ
diff --git a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
index 54d12282..51e12053 100644
--- a/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
+++ b/pyaggr3g470r/translations/fr/LC_MESSAGES/messages.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
-"POT-Creation-Date: 2014-05-04 22:11+0200\n"
-"PO-Revision-Date: 2014-05-04 22:11+0100\n"
+"POT-Creation-Date: 2014-05-05 08:36+0200\n"
+"PO-Revision-Date: 2014-05-05 08:37+0100\n"
"Last-Translator: Cédric Bonhomme <cedric@cedricbonhomme.org>\n"
"Language-Team: fr <LL@li.org>\n"
"Language: fr\n"
@@ -469,6 +469,14 @@ msgstr "Votre email"
msgid "Your Password"
msgstr "Votre mot de passe"
+#: pyaggr3g470r/templates/login.html:30
+msgid "Account creation"
+msgstr "Ouverture de compte"
+
+#: pyaggr3g470r/templates/login.html:30
+msgid "Request an account."
+msgstr "Demander un compte."
+
#: pyaggr3g470r/templates/management.html:5
msgid "Your subscriptions"
msgstr "Vos abonnements"
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index d91e209f..ac89f0b8 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -142,7 +142,7 @@ def login():
identity_changed.send(current_app._get_current_object(), identity=Identity(user.id))
flash(gettext("Logged in successfully."), 'success')
return redirect(url_for('home'))
- return render_template('login.html', form=form)
+ return render_template('login.html', form=form, email=conf.ADMIN_PLATFORM_EMAIL)
@app.route('/logout/')
@login_required
bgstack15