diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-06-29 10:59:35 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-06-29 10:59:35 +0200 |
commit | cd270a37444dcba6a02652269a06527b1bb1c0db (patch) | |
tree | 30238ad0666db183b1ba2bdea579b2d1b10c6aff /pyaggr3g470r/templates | |
parent | Typo. (diff) | |
download | newspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.tar.gz newspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.tar.bz2 newspipe-cd270a37444dcba6a02652269a06527b1bb1c0db.zip |
Bugfix: the variable 'favorites' wasn't transfered to the template.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r-- | pyaggr3g470r/templates/layout.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html index d8a62dbc..80c74703 100644 --- a/pyaggr3g470r/templates/layout.html +++ b/pyaggr3g470r/templates/layout.html @@ -65,7 +65,7 @@ </li> </ul> </li> - {% if favorites %} + {% if page_to_render == "favorites" %} <li><a href="{{ url_for("home") }}"><span class="glyphicon glyphicon-home"></span> {{ _('Home') }}</a></li> {% else %} <li><a href="{{ url_for("favorites") }}"><span class="glyphicon glyphicon-star"></span> {{ _('Favorites') }}</a></li> |