Permalink
Browse files

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

…login.
  • Loading branch information...
1 parent 12c0f5a commit 543c6d5049f02065b1af0055d1a14cb374c53f4a @dwickwire dwickwire committed Feb 3, 2012
@@ -1,38 +1,13 @@
{% extends 'openid_consumer/openid_consumer_base.html' %}
-{% load i18n %}
-
{% block title %}
-{{ block.super }} - {% trans "OpenID failed" %}
-
-{% endblock %}
+{{ block.super }} OpenID Failed {% endblock %}
-{% block main_content %}
+{% block content %}
-<h1>{% trans "OpenID failed" %}:</h1>
+<h3>OpenID failed:</h3>
<p>{{ message|escape }}</p>
-<br /><br /><br /><br />
-
-
{% endblock %}
-
-
-
-{#
-{% load i18n %}
-<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
-<head>
-<title>{% trans "OpenID failed" %}</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-</head>
-
-<body>
-<h1>{% trans "OpenID failed" %}:</h1>
-
-<p>{{ message|escape }}</p>
-</body>
-</html>
-#}
@@ -1,2 +1 @@
{% extends 'base.html' %}
-

0 comments on commit 543c6d5

Please sign in to comment.