From b844e9b5b87019748e099984bd2e848aa20901b0 Mon Sep 17 00:00:00 2001 From: syeopite Date: Fri, 25 Jun 2021 15:11:36 -0700 Subject: [PATCH] Add buttons for switching inst and using yt on chan (cherry picked from commit 634f59df0e377149c586ad9251cf51cbf3c3570e) --- .../views/components/channel-information.ecr | 30 +++++++++++++++---- 1 file changed, 25 insertions(+), 5 deletions(-) diff --git a/src/invidious/views/components/channel-information.ecr b/src/invidious/views/components/channel-information.ecr index 2531c18d..1ac476ce 100644 --- a/src/invidious/views/components/channel-information.ecr +++ b/src/invidious/views/components/channel-information.ecr @@ -37,6 +37,12 @@

+ " href="https://youtube.com/<%=URI.decode_www_form(env.get("current_page").to_s)%>"> + + + " href="/redirect?referer=<%=env.get("current_page")%>"> + +

@@ -54,12 +60,26 @@
- -
- +
<% end %> - +