From e1e28e43067d731123e3de728176448d1d9c9569 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 15 Mar 2011 12:02:34 +0000 Subject: [PATCH] Updated templates --- app/eve_api/templates/eve_api/character.html | 4 ++ app/hr/templates/hr/blacklist/blacklist.html | 17 +------- app/templates/base.html | 2 +- app/templates/registration/activate.html | 17 ++------ .../registration/activation_complete.html | 7 ++++ .../registration/activation_email.txt | 18 ++++----- .../registration/activation_email_subject.txt | 2 +- app/templates/registration/login.html | 40 +++++++------------ app/templates/registration/logout.html | 10 +---- .../registration/password_change_done.html | 6 +++ .../registration/password_change_form.html | 11 +++++ .../registration/password_reset_complete.html | 5 +++ .../registration/password_reset_confirm.html | 12 ++++++ .../registration/password_reset_done.html | 8 ++++ .../registration/password_reset_email.html | 13 ++++++ .../registration/password_reset_form.html | 13 ++++++ .../registration/registration_base.html | 1 + .../registration/registration_complete.html | 10 ++--- .../registration/registration_form.html | 28 ++++++------- 19 files changed, 128 insertions(+), 96 deletions(-) create mode 100644 app/templates/registration/activation_complete.html create mode 100644 app/templates/registration/password_change_done.html create mode 100644 app/templates/registration/password_change_form.html create mode 100644 app/templates/registration/password_reset_complete.html create mode 100644 app/templates/registration/password_reset_confirm.html create mode 100644 app/templates/registration/password_reset_done.html create mode 100644 app/templates/registration/password_reset_email.html create mode 100644 app/templates/registration/password_reset_form.html create mode 100644 app/templates/registration/registration_base.html diff --git a/app/eve_api/templates/eve_api/character.html b/app/eve_api/templates/eve_api/character.html index 44170ae..f8f5955 100644 --- a/app/eve_api/templates/eve_api/character.html +++ b/app/eve_api/templates/eve_api/character.html @@ -63,7 +63,11 @@ {% for group in skill_group %} {{ group.grouper }} {% for skill in group.list %} + {% if skill.in_training %} + {{ skill.skill.name }} - Training to Level {{ skill.in_training }}Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP + {% else %} {{ skill.skill.name }} Level {{ skill.level }}{{ skill.skillpoints|intcomma }} SP + {% endif %} {% endfor %} {% endfor %} Total SP{{ character.total_sp|intcomma }} SP diff --git a/app/hr/templates/hr/blacklist/blacklist.html b/app/hr/templates/hr/blacklist/blacklist.html index b4fdd92..840765a 100644 --- a/app/hr/templates/hr/blacklist/blacklist.html +++ b/app/hr/templates/hr/blacklist/blacklist.html @@ -3,19 +3,6 @@ {% block title %}Blacklist User{% endblock %} {% block content %} - -

This form will blacklist the listed user below. It'll process all entries for the user and blacklist the following:

-
+ {{ form.as_table }}
{{ u.username }}
{% csrf_token %} - +
{% endblock %} diff --git a/app/templates/base.html b/app/templates/base.html index dd102de..424207a 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -10,7 +10,7 @@