mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Improve the unsubscribe to digest experience. Give a link in case it
fails, provide a different message if you are logged in as a different user, increase expiry to 2 months from 1 week.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
<div class='container'>
|
||||
|
||||
<h2><%= t :'resubscribe.title' %></h2>
|
||||
<br/>
|
||||
|
||||
<p><%= t :'resubscribe.description' %></p>
|
||||
|
||||
</div>
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
<div class='container'>
|
||||
|
||||
<%- unless @not_found %>
|
||||
<%- if @success %>
|
||||
<h2><%= t :'unsubscribed.title' %></h2>
|
||||
<br/>
|
||||
|
||||
<p><%= t :'unsubscribed.description' %></p>
|
||||
|
||||
@@ -11,10 +12,18 @@
|
||||
<%= submit_tag t(:'resubscribe.action'), class: 'btn btn-danger' %>
|
||||
<% end %>
|
||||
<%- else %>
|
||||
<h2><%= t :'unsubscribed.not_found' %></h2>
|
||||
<p><%= t :'unsubscribed.not_found_description' %></p>
|
||||
<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>
|
||||
|
||||
Reference in New Issue
Block a user