git.cweiske.de
/
phorkie.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use commit timestamps for ElasticSearch and sort on last commit time.
[phorkie.git]
/
data
/
templates
/
forbidden.htm
diff --git
a/data/templates/forbidden.htm
b/data/templates/forbidden.htm
index 04b8fb6f91794cc7ce977498eef6586e45c8aff8..76e728c82d6f1731c265e6c4718192d06c12b9f6 100644
(file)
--- a/
data/templates/forbidden.htm
+++ b/
data/templates/forbidden.htm
@@
-1,15
+1,28
@@
{% extends "base.htm" %}
{% block title %}Access Denied{% endblock %}
{% extends "base.htm" %}
{% block title %}Access Denied{% endblock %}
+{% block meta %}
+<meta name="robots" content="noindex"/>
+{% endblock %}
+
{% block content %}
{% block content %}
-<img src="/images/access_denied.png" align='left' alt="acces denied"/>
<h2>Access Denied</h2>
<h2>Access Denied</h2>
+{% if identity %}
+<p>
+ You are logged in with the following OpenID:
+</p>
+<p>
+ <code>{{identity}}</code>
+</p>
<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>
</p>
+{% else %}
<p>
<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>
</p>
+{% endif %}
{% endblock %}
{% endblock %}