Merge pull request #609 from AyuntamientoMadrid/management-logout

renames logout managed user to change user
This commit is contained in:
Raimond Garcia
2015-10-14 18:51:54 +02:00
4 changed files with 4 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<section class="small-12 medium-9 column margin-top">
<div class="account-info">
<%= link_to(t("management.account_info.logout"), logout_management_users_path, method: :delete, class: 'right') %>
<%= link_to(t("management.account_info.change_user"), logout_management_users_path, method: :delete, class: 'right') %>
<% if managed_user.level_two_or_three_verified? %>
<p>

View File

@@ -21,7 +21,7 @@ en:
email_label: "Email"
document_number_label: "Document number"
document_type_label: "Document type"
logout: "Logout"
change_user: "Change user"
sessions:
signed_out: "Signed out successfully."
signed_out_managed_user: "Signed out successfully."

View File

@@ -21,7 +21,7 @@ es:
email_label: "Email:"
document_number_label: "Número de documento:"
document_type_label: "Tipo de documento:"
logout: "Salir"
change_user: "Cambiar usuario"
sessions:
signed_out: "Has cerrado la sesión correctamente."
signed_out_managed_user: "Has cerrado la sesión correctamente."

View File

@@ -111,7 +111,7 @@ feature 'Managed User' do
expect(page).to have_content "Identified as"
expect(page).to have_content "#{user.username}"
click_link "Logout"
click_link "Change user"
end
expect(page).to have_content "Signed out successfully."