Make phorkie search engine friendlier
[phorkie.git] / data / templates / forbidden.htm
index 04b8fb6f91794cc7ce977498eef6586e45c8aff8..b32962c869d2777d9e9414ab541eff2a0ca99283 100644 (file)
@@ -1,15 +1,28 @@
 {% extends "base.htm" %}
 {% block title %}Access Denied{% endblock %}
 
+{% block meta %}
+<meta name="robots" content="noindex"/>
+{% endblock %}
+
 {% block content %}
 
-<img src="/images/access_denied.png" align='left' alt="acces denied"/>
 <h2>Access Denied</h2>
+{% if identity %}
+<p>
+ You are logged in with the following OpenID:
+</p>
+<p>
+ <code>{{identity}}</code>
+</p>
 <p>
- We're sorry; but you are not allowed to access this page.
+ Unfortunately, your OpenID is not unlocked.
+ Contact the site administrator to get access.
 </p>
+{% else %}
 <p>
You may <a href="/login">log in</a> if you want.
We're sorry; but you have to <a href="login">log in</a> to access this page.
 </p>
+{% endif %}
 {% endblock %}