Make phorkie search engine friendlier
[phorkie.git] / data / templates / forbidden.htm
index ad40a9fdc76801e3afecac02596c3c706250bf76..b32962c869d2777d9e9414ab541eff2a0ca99283 100644 (file)
@@ -1,21 +1,28 @@
 {% extends "base.htm" %}
 {% block title %}Access Denied{% endblock %}
 
+{% block meta %}
+<meta name="robots" content="noindex"/>
+{% endblock %}
+
 {% block content %}
 
-<fieldset>
-  <legend>Access Denied</legend>
-  <img src="images/access_denied.png">
-</fieldset>
+<h2>Access Denied</h2>
+{% if identity %}
+<p>
+ You are logged in with the following OpenID:
+</p>
+<p>
+ <code>{{identity}}</code>
+</p>
+<p>
+ Unfortunately, your OpenID is not unlocked.
+ Contact the site administrator to get access.
+</p>
+{% else %}
+<p>
+ We're sorry; but you have to <a href="login">log in</a> to access this page.
+</p>
+{% endif %}
 {% endblock %}
 
-{% block sidebar %}
- {% if recents.results %}
- <h3>Recently created</h3>
- <ul>
- {% for repo in recents.repos %}
-   {% include 'repo-sidebar-list.htm' %}
- {% endfor %}
- </ul>
- {% endif %}
-{% endblock %}