Remove on login and home views useless link "back to home"

This commit is contained in:
NumEricR 2013-08-30 15:31:33 +02:00
parent 3eb049036e
commit 876bb3af42
1 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
<header class="w600p center mbm">
<h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1>
<h1>
{% if view == 'home' %}{% block logo %}<img src="./tpl/img/logo.png" alt="logo poche" />{% endblock %}
{% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a>
{% endif %}
</h1>
</header>