Commit 9042dfea authored by Natalia Tepluhina's avatar Natalia Tepluhina

Merge branch '332608-replication-details-button' into 'master'

Geo Sites - Update replication button

See merge request gitlab-org/gitlab!78927
parents b7f58b96 9a898f4e
......@@ -9,7 +9,7 @@ export default {
name: 'GeoNodeReplicationSummary',
i18n: {
replicationSummary: s__('Geo|Replication summary'),
replicationDetailsButton: s__('Geo|Replication details'),
replicationDetailsButton: s__('Geo|Open replications'),
replicationStatus: s__('Geo|Replication status'),
syncSettings: s__('Geo|Synchronization settings'),
},
......@@ -36,6 +36,7 @@ export default {
<gl-button
class="gl-ml-auto"
variant="confirm"
icon="external-link"
category="secondary"
:href="node.webGeoProjectsUrl"
target="_blank"
......
......@@ -46,7 +46,7 @@ RSpec.describe 'GEO Nodes', :geo do
end
describe 'Geo Nodes admin screen' do
it "has a 'Replication details' button on listed secondary geo nodes pointing to correct URL", :js do
it "has a 'Open replications' button on listed secondary geo nodes pointing to correct URL", :js do
visit admin_geo_nodes_path
expect(page).to have_content(geo_primary.url)
......@@ -56,7 +56,7 @@ RSpec.describe 'GEO Nodes', :geo do
expected_url = File.join(geo_secondary.url, '/admin/geo/projects')
expect(all('.geo-node-details-grid-columns').last).to have_link('Replication details', href: expected_url)
expect(all('.geo-node-details-grid-columns').last).to have_link('Open replications', href: expected_url)
end
end
end
......
......@@ -15878,6 +15878,9 @@ msgstr ""
msgid "Geo|Offline"
msgstr ""
msgid "Geo|Open replications"
msgstr ""
msgid "Geo|Pending synchronization"
msgstr ""
......@@ -15935,9 +15938,6 @@ msgstr ""
msgid "Geo|Replication Details"
msgstr ""
msgid "Geo|Replication details"
msgstr ""
msgid "Geo|Replication slot WAL"
msgstr ""
......
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