mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
feat: add link url
This commit is contained in:
parent
e422318fb8
commit
811dad07c9
1 changed files with 14 additions and 16 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue