diff options
| author | syeopite <syeopite@syeopite.dev> | 2021-03-26 18:43:56 -0700 |
|---|---|---|
| committer | syeopite <syeopite@syeopite.dev> | 2021-06-19 04:16:17 -0700 |
| commit | f3bc55e37e6fe38ce202a7afa10efd748e6b7b15 (patch) | |
| tree | abc5e449a5d29c2dc967d725728425a227609244 /src | |
| parent | 31fa3dfd590b00e5c994103f0b2fb1f1969d9b9d (diff) | |
| download | invidious-f3bc55e37e6fe38ce202a7afa10efd748e6b7b15.tar.gz invidious-f3bc55e37e6fe38ce202a7afa10efd748e6b7b15.tar.bz2 invidious-f3bc55e37e6fe38ce202a7afa10efd748e6b7b15.zip | |
Expose instance redirect to frontend
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/views/watch.ecr | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/invidious/views/watch.ecr b/src/invidious/views/watch.ecr index baffa08b..67c116fb 100644 --- a/src/invidious/views/watch.ecr +++ b/src/invidious/views/watch.ecr @@ -109,6 +109,9 @@ we're going to need to do it here in order to allow for translations. <a href="https://www.youtube.com/watch?v=<%= video.id %>"><%= translate(locale, "Watch on YouTube") %></a> (<a href="https://www.youtube.com/embed/<%= video.id %>"><%= translate(locale, "Embed") %></a>) </span> + <p id="watch-on-another-invidious-instance"> + <a href="/redirect?id=<%= video.id %>"><%= translate(locale, "Watch on another Invidious Instance") %></a> + </p> <p id="embed-link"> <a href="<%= embed_link %>"><%= translate(locale, "Embed Link") %></a> </p> |
