Mercurial > personas_backend
changeset 147:bc6161ef735f
The proper title for sections now appears in the header.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Fri, 04 Apr 2008 11:41:49 -0700 |
parents | 612212345759 |
children | 6fadd6ce1429 |
files | personasbackend/personas/templates/personas/base.html |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/personasbackend/personas/templates/personas/base.html Fri Apr 04 11:34:44 2008 -0700 +++ b/personasbackend/personas/templates/personas/base.html Fri Apr 04 11:41:49 2008 -0700 @@ -50,7 +50,11 @@ </div> <div id="section-content"> - <div class="title">{% block title %}{{ section.name }}{% endblock %}</div> + <div class="title"> + {% block title %} + {% if title %}{{ title }}{% else %}{{ section.name }}{% endif %} + {% endblock %} + </div> <div class="divider"></div> <div class="details">