Update copy, update urls

This commit is contained in:
Christian Cueni 2019-07-17 07:46:29 +02:00
parent 334684a1db
commit e474618a4c
6 changed files with 15 additions and 14 deletions

View File

@ -1,13 +1,13 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% load i18n %} {% load i18n %}
{% block title %}{% trans 'Passwort setzen abgeschlossen' %}{% endblock %} {% block title %}{% trans 'Du hast es geschafft' %}{% endblock %}
{% block body %} {% block body %}
<h1 class="logo">skillbox</h1> <h1 class="logo">skillbox</h1>
<h2 class="reset-heading">{% trans 'Passwort setzen abgeschlossen' %}</h2> <h2 class="reset-heading">{% trans 'Du hast es geschafft' %}</h2>
<p>{% trans 'Dein Passwort wurde erfolgreich gesetzt. Du kannst dich nun auf der Loginseite anmelden.' %}</p> <p>{% trans 'Dein Passwort wurde erfolgreich gespeichert. Du kannst dich nun anmelden.' %}</p>
<p><a href="{% url "login" %}">{% trans 'Einloggen' %}</a></p> <p><a href="{% url "login" %}">{% trans 'Jetzt anmelden' %}</a></p>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -6,7 +6,7 @@
{% block body %} {% block body %}
<h1 class="logo">skillbox</h1> <h1 class="logo">skillbox</h1>
<h2 class="reset-heading">{% trans 'Setze dein Passwort' %}</h2> <h2 class="reset-heading">{% trans 'Gib ein persönliche Passwort ein:' %}</h2>
<form method="post" class="mt-1"> <form method="post" class="mt-1">
{% csrf_token %} {% csrf_token %}
@ -18,6 +18,6 @@
{{ form.new_password2.label_tag }} {{ form.new_password2.label_tag }}
{{ form.new_password2 }} {{ form.new_password2 }}
</div> </div>
<button class="btn mt-1" type="submit" name="action">{% trans 'Passwort setzen' %}</button> <button class="btn mt-1" type="submit" name="action">{% trans 'Passwort speichern' %}</button>
</form> </form>
{% endblock %} {% endblock %}

View File

@ -2,11 +2,11 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% load i18n %} {% load i18n %}
{% block title %}{% trans 'Anweisungen versandt' %}{% endblock %} {% block title %}{% trans 'Schau in dein Postfach' %}{% endblock %}
{% block body %} {% block body %}
<h1 class="logo">skillbox</h1> <h1 class="logo">skillbox</h1>
<h2 class="reset-heading">{% trans 'Schau in dein Postfach' %}</h2> <h2 class="reset-heading">{% trans 'Schau in dein Postfach' %}</h2>
<p>{% trans 'Wir haben die Anweisungen um dein Passwort zu setzen, an dich verschickt. Das E-Mail sollte in Kürze bei dir ankommen.' %}</p> <p>{% trans 'Wir haben ein E-Mail mit allen weiteren Anweisungen an dich verschickt. Das E-Mail sollte in Kürze bei dir ankommen.' %}</p>
</div> </div>
{% endblock %} {% endblock %}

View File

@ -2,12 +2,13 @@
{% extends 'base.html' %} {% extends 'base.html' %}
{% load i18n %} {% load i18n %}
{% block title %}{% trans 'Setze ein Passort' %}{% endblock %} {% block title %}{% trans 'Willkommen bei Myskillbox' %}{% endblock %}
{% block body %} {% block body %}
<h1 class="logo">skillbox</h1> <h1 class="logo">skillbox</h1>
<h2 class="reset-heading">{% trans 'Setze ein Passort' %}</h2> <h2 class="reset-heading">{% trans 'Willkommen bei Myskillbox' %}</h2>
<p>{% trans 'Gib deine E-Mail ein und erhalte weitere Anweisungen um dein Passwort initial zu setzen.' %}</p> <p>{% trans 'Bevor du Myskillbox verwenden kannst, muss du deine E-Mail bestätigen und ein persönliches Passwort festlegen.' %}</p>
<p>{% trans 'Gib als erstes hier dein E-Mail ein:' %}</p>
<form method="post" class="mt-1"> <form method="post" class="mt-1">
{% csrf_token %} {% csrf_token %}
@ -16,7 +17,7 @@
{{ form.email.label_tag }} {{ form.email.label_tag }}
{{ form.email }} {{ form.email }}
</div> </div>
<button class="btn mt-1" type="submit" name="action">{% trans 'Passwort setzen' %}</button> <button class="btn mt-1" type="submit" name="action">{% trans 'E-Mail bestätigen' %}</button>
<input type="hidden" name="next" value="{{ next }}"/> <input type="hidden" name="next" value="{{ next }}"/>
</form> </form>

View File

@ -1 +1 @@
myskillbox Passwort setzen Myskillbox: E-Mail bestätigen und Passwort setzen

View File

@ -17,7 +17,7 @@ urlpatterns = [
url(r'^statistics/', include('statistics.urls', namespace='statistics')), url(r'^statistics/', include('statistics.urls', namespace='statistics')),
# set password # set password
path('set-password/', SetPasswordView.as_view(), name='set_password'), path('welcome/', SetPasswordView.as_view(), name='set_password'),
path('set-password/done/', SetPasswordDoneView.as_view(), name='set_password_done'), path('set-password/done/', SetPasswordDoneView.as_view(), name='set_password_done'),
path('set-password/<uidb64>/<token>/', SetPasswordConfirmView.as_view(), name='set_password_confirm'), path('set-password/<uidb64>/<token>/', SetPasswordConfirmView.as_view(), name='set_password_confirm'),
path('set-password/done/', SetPasswordCompleteView.as_view(), name='set_password_complete'), path('set-password/done/', SetPasswordCompleteView.as_view(), name='set_password_complete'),