diff --git a/app/main/routes.py b/app/main/routes.py index a95955f6..e487800d 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -330,6 +330,7 @@ def list_subscribed_communities(): @bp.route('/communities/notsubscribed', methods=['GET']) +@login_required def list_not_subscribed_communities(): verification_warning() search_param = request.args.get('search', '') @@ -386,6 +387,7 @@ def list_not_subscribed_communities(): low_bandwidth=low_bandwidth, moderating_communities=moderating_communities(current_user.get_id()), menu_topics=menu_topics(), site=g.site) + @bp.route('/modlog', methods=['GET']) def modlog(): page = request.args.get('page', 1, type=int) @@ -509,8 +511,6 @@ def replay_inbox(): @bp.route('/test') def test(): - return mastodon_extra_field_link('brammeehan.com') - response = get_request('https://rimu.geek.nz') x = '' if response.status_code == 200: diff --git a/app/templates/list_communities.html b/app/templates/list_communities.html index 66d6a165..d433bd25 100644 --- a/app/templates/list_communities.html +++ b/app/templates/list_communities.html @@ -17,12 +17,12 @@ {{ _('Local') }} {% if current_user.is_authenticated -%} - - {{ _('Joined') }} - - - {{ _('Not Joined') }} - + + {{ _('Joined') }} + + + {{ _('Not Joined') }} + {% endif -%}