Update templates
This commit is contained in:
parent
c0f7107517
commit
8c38748347
@ -15,7 +15,7 @@
|
||||
{% block title %}{% trans "Submit a Case Study" %}{% endblock %}
|
||||
{% block description %}{% trans "Here you can submit a case study for review and it will be added to the map." %}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
{% block inner %}
|
||||
{% crispy form %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -33,7 +33,7 @@
|
||||
{% block description %}
|
||||
{% trans "A complete picture is always more helpful but sometimes you don't have the time" %}
|
||||
{% endblock %}
|
||||
{% block content %}
|
||||
{% block inner %}
|
||||
<div class="btn-jumbo-group">
|
||||
<a class="btn btn-jumbo bg-warning" href="{% url 'long-form' %}" role="button">
|
||||
<h2>20+ Minutes</h2>
|
||||
|
@ -11,7 +11,7 @@
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% block content %}
|
||||
|
||||
<div class="container">
|
||||
|
||||
@ -20,7 +20,7 @@
|
||||
<p class="lead text-center">{% block description %}{% endblock %}</p>
|
||||
</div>
|
||||
|
||||
{% block content %}
|
||||
{% block inner %}
|
||||
{% endblock %}
|
||||
|
||||
</div><!-- /.container -->
|
||||
|
@ -1 +1,8 @@
|
||||
{% extends 'base_page.html' %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<p>{% trans "Account activation failed" %}</p>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -1 +1,6 @@
|
||||
{% extends 'base_page.html' %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Your account is now activated." %}</p>
|
||||
{% endblock %}
|
||||
|
@ -0,0 +1,6 @@
|
||||
{% load i18n %}
|
||||
{% trans "Activate account at" %} {{ site.name }}:
|
||||
|
||||
http://{{ site.domain }}{% url 'registration_activate' activation_key %}
|
||||
|
||||
{% blocktrans %}Link is valid for {{ expiration_days }} days.{% endblocktrans %}
|
@ -1 +1 @@
|
||||
Activate your Ojuso Identity account.
|
||||
{% load i18n %}{% trans "Account activation on" %} {{ site.name }}
|
||||
|
@ -1,11 +1,6 @@
|
||||
{% extends "base_page.html" %}
|
||||
{% load bootstrap3 %}
|
||||
{% load crispy_forms_tags %}
|
||||
{% load envelope_tags %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block page_name %}Registration{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<p class="text-center">{% trans "You've just been logged out." %} <a href="{% url 'auth_login' %}">{% trans "Click here to login again." %}</p>
|
||||
<p>{% trans "Logged out" %}</p>
|
||||
{% endblock %}
|
||||
|
@ -0,0 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Password changed" %}</p>
|
||||
{% endblock %}
|
11
ojusomap/templates/registration/password_change_form.html
Normal file
11
ojusomap/templates/registration/password_change_form.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
{% endblock %}
|
10
ojusomap/templates/registration/password_reset_complete.html
Normal file
10
ojusomap/templates/registration/password_reset_complete.html
Normal file
@ -0,0 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<p>{% trans "Password reset successfully" %}</p>
|
||||
|
||||
<p><a href="{% url 'auth_login' %}">{% trans "Log in" %}</a></p>
|
||||
|
||||
{% endblock %}
|
21
ojusomap/templates/registration/password_reset_confirm.html
Normal file
21
ojusomap/templates/registration/password_reset_confirm.html
Normal file
@ -0,0 +1,21 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if validlink %}
|
||||
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
|
||||
{% else %}
|
||||
|
||||
<p>{% trans "Password reset failed" %}</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
6
ojusomap/templates/registration/password_reset_done.html
Normal file
6
ojusomap/templates/registration/password_reset_done.html
Normal file
@ -0,0 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "Email with password reset instructions has been sent." %}</p>
|
||||
{% endblock %}
|
@ -1,14 +1,5 @@
|
||||
{% load i18n %}{% autoescape off %}
|
||||
{% blocktrans %}You're receiving this email because you requested a password reset for your user account at {{ site_name }}.{% endblocktrans %}
|
||||
|
||||
{% trans "Please go to the following page and choose a new password:" %}
|
||||
{% load i18n %}
|
||||
{% blocktrans %}Reset password at {{ site_name }}{% endblocktrans %}:
|
||||
{% block reset_link %}
|
||||
{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uidb64=uid token=token %}
|
||||
{{ protocol }}://{{ domain }}{% url 'auth_password_reset_confirm' uid token %}
|
||||
{% endblock %}
|
||||
{% trans "Your username, in case you've forgotten:" %} {{ user.get_username }}
|
||||
|
||||
{% trans "Thanks for using our site!" %}
|
||||
|
||||
{% blocktrans %}The {{ site_name }} team{% endblocktrans %}
|
||||
|
||||
{% endautoescape %}
|
11
ojusomap/templates/registration/password_reset_form.html
Normal file
11
ojusomap/templates/registration/password_reset_form.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<form method="post" action=".">
|
||||
{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
|
||||
<input type="submit" value="{% trans 'Submit' %}" />
|
||||
</form>
|
||||
{% endblock %}
|
@ -1,12 +1,6 @@
|
||||
{% extends "base_page.html" %}
|
||||
{% load bootstrap3 %}
|
||||
{% block page_name %}Registration{% endblock %}
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container">
|
||||
<div class="page-lead">
|
||||
<h2>Registration</h2>
|
||||
<p class="lead">Account registration is currently closed. Come back soon!</p>
|
||||
</div>
|
||||
</div>
|
||||
<p>{% trans "Registration is currently closed." %}</p>
|
||||
{% endblock %}
|
||||
|
@ -0,0 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block content %}
|
||||
<p>{% trans "You are now registered. Activation email sent." %}</p>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue
Block a user