From a1e558cb6921f66bbc9f1382ed700588970a1ac0 Mon Sep 17 00:00:00 2001 From: pluja Date: Sun, 23 Aug 2020 18:18:24 +0200 Subject: [PATCH] Twitter: Move following management to front --- app/routes.py | 1 - app/templates/base.html | 1 - app/templates/index.html | 5 +---- 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/routes.py b/app/routes.py index ffe05d2..42bab8d 100644 --- a/app/routes.py +++ b/app/routes.py @@ -294,7 +294,6 @@ def channel(id): data = feedparser.parse(data.content) channelData = YoutubeSearch.channelInfo(id) - return render_template('channel.html', form=form, btform=button_form, channel=channelData[0], videos=channelData[1]) @app.route('/watch', methods=['GET']) diff --git a/app/templates/base.html b/app/templates/base.html index 6902181..6d4caf9 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -21,7 +21,6 @@ Login {% else %} Search - Following Saved Youtube Search diff --git a/app/templates/index.html b/app/templates/index.html index 165bc42..7654c48 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -2,10 +2,7 @@ {% block content %}
-

- Hi, {{ current_user.username }} -
Following: {{ followedCount }}
-

+

Manage following: {{ followedCount }}