aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 21:47:22 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-05-05 21:47:22 +0200
commit3b07340901f89df7a86d64aab1e64277830ca3cb (patch)
treed218224751e9c5198bbfb5ab1fdbe6e4447491e6 /pyaggr3g470r
parentUpdated translations. (diff)
downloadnewspipe-3b07340901f89df7a86d64aab1e64277830ca3cb.tar.gz
newspipe-3b07340901f89df7a86d64aab1e64277830ca3cb.tar.bz2
newspipe-3b07340901f89df7a86d64aab1e64277830ca3cb.zip
About page is accessible when disconnected.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r--pyaggr3g470r/templates/layout.html2
-rw-r--r--pyaggr3g470r/views.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index 8ed66d89..d0656d32 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -78,6 +78,8 @@
</li>
</ul>
</li>
+ {% else %}
+ <li><a href="/about/">{{ _('About') }}</a></li>
{% endif %}
</ul>
</div><!-- /.navbar-collapse -->
diff --git a/pyaggr3g470r/views.py b/pyaggr3g470r/views.py
index c8e268bc..3a6cd9ad 100644
--- a/pyaggr3g470r/views.py
+++ b/pyaggr3g470r/views.py
@@ -223,7 +223,6 @@ def fetch(feed_id=None):
return redirect(redirect_url())
@app.route('/about/', methods=['GET'])
-@login_required
def about():
"""
'About' page.
bgstack15