aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-29 10:59:35 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2015-06-29 10:59:35 +0200
commitcd270a37444dcba6a02652269a06527b1bb1c0db (patch)
tree30238ad0666db183b1ba2bdea579b2d1b10c6aff /pyaggr3g470r/templates
parentTypo. (diff)
downloadnewspipe-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.html2
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>
bgstack15