mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
f2dd35ab08
fails, provide a different message if you are logged in as a different user, increase expiry to 2 months from 1 week.
29 lines
705 B
Text
29 lines
705 B
Text
<div class='container'>
|
|
|
|
<%- if @success %>
|
|
<h2><%= t :'unsubscribed.title' %></h2>
|
|
<br/>
|
|
|
|
<p><%= t :'unsubscribed.description' %></p>
|
|
|
|
<p><%= t :'unsubscribed.oops' %></p>
|
|
|
|
<%= form_tag(email_resubscribe_path(key: params[:key])) do %>
|
|
<%= submit_tag t(:'resubscribe.action'), class: 'btn btn-danger' %>
|
|
<% end %>
|
|
<%- else %>
|
|
<h2><%= t :'unsubscribed.error' %></h2>
|
|
<br/>
|
|
<%- if @different_user %>
|
|
<p><%= t :'unsubscribed.different_user_description' %></p>
|
|
<%- end %>
|
|
|
|
<%- if @not_found %>
|
|
<p><%= t :'unsubscribed.not_found_description' %></p>
|
|
<%- end %>
|
|
|
|
<p><%=raw(t :'unsubscribed.preferences_link') %></p>
|
|
|
|
<%- end %>
|
|
|
|
</div>
|