Watch on Youtube link for error pages

This commit is contained in:
recette 2020-05-29 18:39:28 +02:00
parent 6435c7b921
commit 4a080a90ea

View File

@ -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>