feat: add link url

This commit is contained in:
unlxam 2024-08-10 18:31:05 -03:00
parent e422318fb8
commit 811dad07c9

View file

@ -3,22 +3,20 @@
<% end %>
<div class="h-box">
<div class="pure-form pure-form-aligned">
<legend><%= translate(locale, "You are leaving Invidious. Continue to external link?") %></legend>
<div class="pure-g">
<div class="pure-u-1-2">
<a value="confirm_leave" class="pure-button pure-button-primary" href="<%= link %>">
<%= translate(locale, "Yes") %>
</a>
</div>
<div class="pure-u-1-2">
<a class="pure-button" href="<%= referer %>">
<%= translate(locale, "No") %>
</a>
</div>
<h3><%= translate(locale, "You are leaving Invidious. Continue to external link?") %></h3>
<p><%= link %></p>
<div class="pure-g">
<div class="pure-u-1-2">
<a value="confirm_leave" class="pure-button pure-button-primary" href="<%= link %>">
<%= translate(locale, "Yes") %>
</a>
</div>
<div class="pure-u-1-2">
<a class="pure-button" href="<%= referer %>">
<%= translate(locale, "No") %>
</a>
</div>
</div>
</div>