Added a template block into base to ease rendering of errors.html
authorLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Fri, 16 Mar 2012 14:18:00 +0000 (16:18 +0200)
committerLeonidas Poulopoulos <leopoul@noc.grnet.gr>
Fri, 16 Mar 2012 14:18:00 +0000 (16:18 +0200)
templates/base.html

index 1467836..363f022 100644 (file)
@@ -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>