Commit ccf9b780 authored by Sunjung Park's avatar Sunjung Park

Update secondary node pages

parent 9a4f6bf3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
%h2.page-title %h2.page-title
= _('Geo Replication') = _('Geo Replication')
%p %p
= s_('Geo|Review replication status, and resynchronize and reverify items with the primary node.') = s_('Geo|Review replication status, and resynchronize and reverify items with the primary site.')
%ul.nav-links.nav.nav-tabs.border-top.border-bottom.border-secondary-100 %ul.nav-links.nav.nav-tabs.border-top.border-bottom.border-secondary-100
= nav_link(path: 'admin/geo/projects#index', html_options: { class: 'gl-pr-2' }) do = nav_link(path: 'admin/geo/projects#index', html_options: { class: 'gl-pr-2' }) do
= link_to admin_geo_projects_path, title: _('Projects') do = link_to admin_geo_projects_path, title: _('Projects') do
......
...@@ -22,13 +22,13 @@ RSpec.describe 'GEO Nodes', :geo do ...@@ -22,13 +22,13 @@ RSpec.describe 'GEO Nodes', :geo do
describe "showing Flash Info Message" do describe "showing Flash Info Message" do
it 'on dashboard' do it 'on dashboard' do
visit root_dashboard_path visit root_dashboard_path
expect(page).to have_content 'You are on a secondary, read-only Geo node. If you want to make changes, you must visit the primary site.' expect(page).to have_content 'You are on a secondary, read-only Geo site. If you want to make changes, you must visit the primary site.'
expect(page).to have_content 'Go to the primary site' expect(page).to have_content 'Go to the primary site'
end end
it 'on project overview' do it 'on project overview' do
visit project_path(project) visit project_path(project)
expect(page).to have_content 'You are on a secondary, read-only Geo node. If you want to make changes, you must visit the primary site.' expect(page).to have_content 'You are on a secondary, read-only Geo site. If you want to make changes, you must visit the primary site.'
expect(page).to have_content 'Go to the primary site' expect(page).to have_content 'Go to the primary site'
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment