mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-09 14:18:29 +00:00
Watch on Youtube link for error pages
This commit is contained in:
parent
6435c7b921
commit
4a080a90ea
@ -3,5 +3,9 @@
|
||||
<% end %>
|
||||
|
||||
<div class="h-box">
|
||||
<%= error_message %>
|
||||
<p><%= error_message %></p>
|
||||
<p><a href="https://www.youtube.com/watch?<%= env.params.query %>"><%=
|
||||
locale = LOCALES[env.get("preferences").as(Preferences).locale]?
|
||||
translate(locale, "Watch on YouTube")
|
||||
%></a></p>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user