diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-05 21:47:22 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-05-05 21:47:22 +0200 |
commit | 3b07340901f89df7a86d64aab1e64277830ca3cb (patch) | |
tree | d218224751e9c5198bbfb5ab1fdbe6e4447491e6 /pyaggr3g470r | |
parent | Updated translations. (diff) | |
download | newspipe-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.html | 2 | ||||
-rw-r--r-- | pyaggr3g470r/views.py | 1 |
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. |