fix bug #182: Wrong title on favorites and archives pages

This commit is contained in:
Nicolas Lœuillet 2013-08-26 17:18:08 +02:00
parent 063fc1a7ba
commit b6b36e1b5a
1 changed files with 9 additions and 1 deletions

View File

@ -1,5 +1,13 @@
{% extends "layout.twig" %}
{% block title %}{% trans "home" %}{% endblock %}
{% block title %}
{% if view == 'fav' %}
{% trans "favoris" %}
{% elseif view == 'archive' %}
{% trans "archive" %}
{% else %}
{% trans "unread" %}
{% endif %}
{% endblock %}
{% block menu %}
{% include '_menu.twig' %}
{% endblock %}