diff options
author | NumEricR <eric.github@gmail.com> | 2013-08-30 15:31:33 +0200 |
---|---|---|
committer | NumEricR <eric.github@gmail.com> | 2013-09-03 23:56:37 +0200 |
commit | 876bb3af42b1628e162492bcd95939e32ce1a661 (patch) | |
tree | ba0c7c08cb6beeb0b57abf75f651d4e947700ffd /tpl | |
parent | 3eb049036e601c1978cf5f7f0d5be8c577933b72 (diff) | |
download | wallabag-876bb3af42b1628e162492bcd95939e32ce1a661.tar.gz wallabag-876bb3af42b1628e162492bcd95939e32ce1a661.tar.zst wallabag-876bb3af42b1628e162492bcd95939e32ce1a661.zip |
Remove on login and home views useless link "back to home"
Diffstat (limited to 'tpl')
-rw-r--r-- | tpl/_top.twig | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/_top.twig b/tpl/_top.twig index ae01cc3f..dc20081e 100644 --- a/tpl/_top.twig +++ b/tpl/_top.twig | |||
@@ -1,3 +1,7 @@ | |||
1 | <header class="w600p center mbm"> | 1 | <header class="w600p center mbm"> |
2 | <h1><a href="./" title="{% trans "back to home" %}" ><img src="./tpl/img/logo.png" alt="logo poche" /></a></h1> | 2 | <h1> |
3 | {% if view == 'home' %}{% block logo %}<img src="./tpl/img/logo.png" alt="logo poche" />{% endblock %} | ||
4 | {% else %}<a href="./" title="{% trans "back to home" %}" >{{ block('logo') }}</a> | ||
5 | {% endif %} | ||
6 | </h1> | ||
3 | </header> \ No newline at end of file | 7 | </header> \ No newline at end of file |