feat: add link url

This commit is contained in:
unlxam 2024-08-10 18:31:05 -03:00
parent ecfb9fed5a
commit b240f915b7

View File

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