diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-26 17:18:08 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-26 17:18:08 +0200 |
commit | b6b36e1b5a37cfddc025efdbd816acbde70eafb6 (patch) | |
tree | 3e8a16520e1247e25c5a7b6b2a03ec4cbb8bc21f /tpl/home.twig | |
parent | 063fc1a7baaf6f7e1fb08eced058962a6140a471 (diff) | |
download | wallabag-b6b36e1b5a37cfddc025efdbd816acbde70eafb6.tar.gz wallabag-b6b36e1b5a37cfddc025efdbd816acbde70eafb6.tar.zst wallabag-b6b36e1b5a37cfddc025efdbd816acbde70eafb6.zip |
fix bug #182: Wrong title on favorites and archives pages
Diffstat (limited to 'tpl/home.twig')
-rw-r--r-- | tpl/home.twig | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tpl/home.twig b/tpl/home.twig index a2fa9a93..6b80c6ed 100644 --- a/tpl/home.twig +++ b/tpl/home.twig | |||
@@ -1,5 +1,13 @@ | |||
1 | {% extends "layout.twig" %} | 1 | {% extends "layout.twig" %} |
2 | {% block title %}{% trans "home" %}{% endblock %} | 2 | {% block title %} |
3 | {% if view == 'fav' %} | ||
4 | {% trans "favoris" %} | ||
5 | {% elseif view == 'archive' %} | ||
6 | {% trans "archive" %} | ||
7 | {% else %} | ||
8 | {% trans "unread" %} | ||
9 | {% endif %} | ||
10 | {% endblock %} | ||
3 | {% block menu %} | 11 | {% block menu %} |
4 | {% include '_menu.twig' %} | 12 | {% include '_menu.twig' %} |
5 | {% endblock %} | 13 | {% endblock %} |