Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Setting a more friendly 'cancelled' or 'failure' page from an OpenID …

…login.
  • Loading branch information...
commit 543c6d5049f02065b1af0055d1a14cb374c53f4a 1 parent 12c0f5a
Derek Wickwire dwickwire authored
31 openid_consumer/templates/openid_consumer/failure.html
... ... @@ -1,38 +1,13 @@
1 1 {% extends 'openid_consumer/openid_consumer_base.html' %}
2   -{% load i18n %}
3   -
4 2
5 3 {% block title %}
6 4
7   -{{ block.super }} - {% trans "OpenID failed" %}
8   -
9   -{% endblock %}
  5 +{{ block.super }} OpenID Failed {% endblock %}
10 6
11   -{% block main_content %}
  7 +{% block content %}
12 8
13   -<h1>{% trans "OpenID failed" %}:</h1>
  9 +<h3>OpenID failed:</h3>
14 10
15 11 <p>{{ message|escape }}</p>
16 12
17   -<br /><br /><br /><br />
18   -
19   -
20 13 {% endblock %}
21   -
22   -
23   -
24   -{#
25   -{% load i18n %}
26   -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
27   -<head>
28   -<title>{% trans "OpenID failed" %}</title>
29   -<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
30   -</head>
31   -
32   -<body>
33   -<h1>{% trans "OpenID failed" %}:</h1>
34   -
35   -<p>{{ message|escape }}</p>
36   -</body>
37   -</html>
38   -#}
1  openid_consumer/templates/openid_consumer/openid_consumer_base.html
... ... @@ -1,2 +1 @@
1 1 {% extends 'base.html' %}
2   -

0 comments on commit 543c6d5

Please sign in to comment.
Something went wrong with that request. Please try again.