Change my activity menu to my content

This commit is contained in:
decabeza
2019-05-14 17:00:00 +02:00
parent d845c6e973
commit f06cdc5fbb
6 changed files with 10 additions and 10 deletions

View File

@@ -242,7 +242,7 @@ en:
officing: Polling officers
help: Help
my_account_link: My account
my_activity_link: My activity
my_activity_link: My content
open: open
open_gov: Open government
proposals: Proposals
@@ -679,7 +679,7 @@ en:
info_about_receivers_html: "This message will be sent to <strong>%{count} people</strong> and it will be visible in %{proposal_page}.<br> Messages are not sent immediately, users will receive periodically an email with all proposal notifications."
proposal_page: "the proposal's page"
show:
back: "Go back to my activity"
back: "Go back to my content"
shared:
edit: "Edit"
save: "Save"

View File

@@ -242,7 +242,7 @@ es:
officing: Presidentes de mesa
help: Ayuda
my_account_link: Mi cuenta
my_activity_link: Mi actividad
my_activity_link: Mi contenido
open: abierto
open_gov: Gobierno %{open}
proposals: Propuestas
@@ -679,7 +679,7 @@ es:
info_about_receivers_html: "Este mensaje se enviará a <strong>%{count} usuarios</strong> y se publicará en %{proposal_page}.<br> El mensaje no se enviará inmediatamente, los usuarios recibirán periódicamente un email con todas las notificaciones de propuestas."
proposal_page: "la página de la propuesta"
show:
back: "Volver a mi actividad"
back: "Volver a mi contenido"
shared:
edit: "Editar"
save: "Guardar"

View File

@@ -12,7 +12,7 @@ feature "Management" do
click_link "Management"
expect(page).to have_content("My activity")
expect(page).to have_content("My content")
expect(page).to have_content("My account")
expect(page).to have_content("Sign out")
end
@@ -26,7 +26,7 @@ feature "Management" do
click_link "Management"
expect(page).not_to have_content("My activity")
expect(page).not_to have_content("My content")
expect(page).not_to have_content("My account")
expect(page).not_to have_content("Sign out")
end

View File

@@ -9,7 +9,7 @@ feature "Proposal Notifications" do
login_as(author)
visit root_path
click_link "My activity"
click_link "My content"
click_link proposal.title
click_link "Access the community"
click_link "Send message to the community"

View File

@@ -75,7 +75,7 @@ feature "Users" do
visit account_path
expect(page).to have_link "My activity", href: user_path(u1)
expect(page).to have_link "My content", href: user_path(u1)
visit "/"
click_link "Sign out"
@@ -98,7 +98,7 @@ feature "Users" do
visit account_path
expect(page).to have_link "My activity", href: user_path(u2)
expect(page).to have_link "My content", href: user_path(u2)
end
end
end

View File

@@ -17,7 +17,7 @@ module Notifications
login_as(proposal.author)
visit root_path
click_link "My activity"
click_link "My content"
within("#proposal_#{proposal.id}") do
click_link proposal.title