mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-30 10:58:31 -05:00
Improve message when you change your password
This commit is contained in:
parent
23cee77310
commit
5db196315c
2 changed files with 7 additions and 10 deletions
|
@ -13,17 +13,13 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%if flash[:success]%>
|
<%if flash[:success]%>
|
||||||
<div class='alert alert-success'>
|
|
||||||
<%=flash[:success]%>
|
|
||||||
</div>
|
|
||||||
<p>
|
<p>
|
||||||
|
<%= flash[:success] %>
|
||||||
<%- if @requires_approval %>
|
<%- if @requires_approval %>
|
||||||
<%= t 'login.not_approved' %>
|
<%= t 'login.not_approved' %>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%= raw t 'activation.please_continue', link: link_to(SiteSetting.title, root_path) %>
|
<%= link_to( t('password_reset.continue', site_name: SiteSetting.title), root_path ) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<%if @user.present? %>
|
<%if @user.present? %>
|
||||||
|
|
|
@ -183,6 +183,7 @@ en:
|
||||||
title: 'reset password'
|
title: 'reset password'
|
||||||
success: "You successfully changed your password and are now logged in."
|
success: "You successfully changed your password and are now logged in."
|
||||||
success_unapproved: "You successfully changed your password."
|
success_unapproved: "You successfully changed your password."
|
||||||
|
continue: "Continue to %{site_name}"
|
||||||
|
|
||||||
change_email:
|
change_email:
|
||||||
confirmed: "Your email has been updated."
|
confirmed: "Your email has been updated."
|
||||||
|
|
Loading…
Reference in a new issue