projects
/
flowspy
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338495b
)
Added a template block into base to ease rendering of errors.html
author
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Fri, 16 Mar 2012 14:18:00 +0000
(16:18 +0200)
committer
Leonidas Poulopoulos
<leopoul@noc.grnet.gr>
Fri, 16 Mar 2012 14:18:00 +0000
(16:18 +0200)
templates/base.html
patch
|
blob
|
history
diff --git
a/templates/base.html
b/templates/base.html
index
1467836
..
363f022
100644
(file)
--- a/
templates/base.html
+++ b/
templates/base.html
@@
-36,6
+36,7
@@
</div>
<div class="loginform">
<div id="formcontent">
+ {% block menublock %}
{% if user.is_authenticated %}
<span class="topmenuuser">{% trans "Welcome" %} <strong>{{user}}</strong></span>
{% endif %}
@@
-59,6
+60,7
@@
{% else %}
<span class="topmenuaction"><a href="{% url login %}">{% trans "Shibboleth Login" %}</a></span>
{% endif %}
+ {% endblock %}
</div>
</div>