Mercurial > agora-palash
view templates/whitebox.djhtml @ 36:bc0137b6c264
Shuffle URLs around, make them more consistent
author | Jordi Gutiérrez Hermoso <jordigh@gmail.com> |
---|---|
date | Wed, 07 Jul 2010 09:23:03 -0500 |
parents | 28a512881850 |
children |
line wrap: on
line source
{% extends "base.djhtml" %} {% block content %} <div id="info"> <h3> {% block boxtitle %}{% endblock %} </h3> <div class="whitebox"> {% block boxcontents %}{% endblock %} </div> </div> {% endblock %} {% block session %} {% if user.is_authenticated %} <a href="{% url auth_logout %}" id="nav-logout">Logout</a> <small> (<a href="{% url agora.apps.profile.views.showprofile user %}" id="nav-username">{{user.username}}</a>) </small> {% else %} <a href="{% url auth_login %}?next={{ request.path }}">Log in</a> {% endif %} {% endblock %}