Improve message when you change your password

This commit is contained in:
Neil Lalonde 2013-03-20 16:55:56 -04:00
parent 23cee77310
commit 5db196315c
2 changed files with 7 additions and 10 deletions

View file

@ -13,17 +13,13 @@
<% end %>
<%if flash[:success]%>
<div class='alert alert-success'>
<%=flash[:success]%>
</div>
<p>
<%- if @requires_approval %>
<%= t 'login.not_approved' %>
<% else %>
<%= raw t 'activation.please_continue', link: link_to(SiteSetting.title, root_path) %>
<% end %>
<%= flash[:success] %>
<%- if @requires_approval %>
<%= t 'login.not_approved' %>
<% else %>
<%= link_to( t('password_reset.continue', site_name: SiteSetting.title), root_path ) %>
<% end %>
</p>
<% else %>
<%if @user.present? %>

View file

@ -183,6 +183,7 @@ en:
title: 'reset password'
success: "You successfully changed your password and are now logged in."
success_unapproved: "You successfully changed your password."
continue: "Continue to %{site_name}"
change_email:
confirmed: "Your email has been updated."