diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2016-03-02 15:28:03 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2016-03-02 15:36:29 +0000 |
commit | 5b0e3895acccacccb413f019a7b6ccd6533f42f6 (patch) | |
tree | 0484b71bcbfdc1080265109a74ae01263ddd85e1 | |
parent | 23406348d4eb661b2eed4a35aaa2f8aa7fa1cffe (diff) | |
download | infrastructure-5b0e3895acccacccb413f019a7b6ccd6533f42f6.tar.gz |
baserock_openid_provider: Tweak templates
Fixes capitalisation, a missing quote, and trying to show data that
isn't available because the user isn't logged in.
Change-Id: I99028d7e54c43c52838fea2d1d6380191ceb001d
3 files changed, 3 insertions, 7 deletions
diff --git a/baserock_openid_provider/templates/base.html b/baserock_openid_provider/templates/base.html index 8cc8e86f..25a6135d 100644 --- a/baserock_openid_provider/templates/base.html +++ b/baserock_openid_provider/templates/base.html @@ -4,7 +4,7 @@ <head> <link rel="stylesheet" href="{{ STATIC_URL }}style.css" /> - <title>{% block title %}Baserock OpenID provider{% endblock %}</title> + <title>{% block title %}Baserock OpenID Provider{% endblock %}</title> </head> <body> diff --git a/baserock_openid_provider/templates/registration/activation_complete.html b/baserock_openid_provider/templates/registration/activation_complete.html index a0a268ca..df2efd55 100644 --- a/baserock_openid_provider/templates/registration/activation_complete.html +++ b/baserock_openid_provider/templates/registration/activation_complete.html @@ -2,9 +2,5 @@ {% load i18n %} {% block content %} -<p>{% trans "Your account is now activated." %}</p> - -<p>Your OpenID is: -<a href="http://openid.baserock.org/openid/{{ user.username }}/">http://openid.baserock.org/openid/{{ user.username }}/</a> -</p> +<p>{% trans "Your account is now activated. Please log in." %}</p> {% endblock %} diff --git a/baserock_openid_provider/templates/registration/registration_complete.html b/baserock_openid_provider/templates/registration/registration_complete.html index 6bc06bc0..757bd50c 100644 --- a/baserock_openid_provider/templates/registration/registration_complete.html +++ b/baserock_openid_provider/templates/registration/registration_complete.html @@ -6,6 +6,6 @@ a link that you will need to click to activate your account.</p> <p>The mail should arrive within 15 minutes, depending on your mail provider's -use of <a href="https://en.wikipedia.org/wiki/Greylisting>greylisting.</a></p> +use of <a href="https://en.wikipedia.org/wiki/Greylisting">greylisting.</a></p> </p> {% endblock %} |