aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/views/views.py')
-rw-r--r--src/web/views/views.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index 0a785ceb..03d6501d 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -83,7 +83,8 @@ def about():
@etag_match
def about_more():
return render_template('about_more.html',
- newspipe_version=__version__.split()[1],
- on_heroku=[conf.ON_HEROKU and 'Yes' or 'No'][0],
- python_version="{}.{}.{}".format(*sys.version_info[:3]),
- nb_users=UserController().read().count())
+ newspipe_version=__version__.split()[1],
+ on_heroku=[conf.ON_HEROKU and 'Yes' or 'No'][0],
+ registration=[conf.SELF_REGISTRATION and 'Open' or 'Closed'][0],
+ python_version="{}.{}.{}".format(*sys.version_info[:3]),
+ nb_users=UserController().read().count())
bgstack15