mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23: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 %>
|
||||
|
||||
<%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? %>
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue