ADD: Login button when logged out
[phorkie.git] / data / templates / forbidden.htm
index 04b8fb6f91794cc7ce977498eef6586e45c8aff8..585c2feee54f9e2f3827ace0031e371cbc6a41cf 100644 (file)
@@ -5,11 +5,21 @@
 
 <img src="/images/access_denied.png" align='left' alt="acces denied"/>
 <h2>Access Denied</h2>
 
 <img src="/images/access_denied.png" align='left' alt="acces denied"/>
 <h2>Access Denied</h2>
+{% if identity %}
 <p>
 <p>
- We're sorry; but you are not allowed to access this page.
+ You are logged in with the following OpenID:
 </p>
 <p>
 </p>
 <p>
- You may <a href="/login">log in</a> if you want.
+ <code>{{identity}}</code>
 </p>
 </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 %}
 
 {% endblock %}