Commit 9a898f4e authored by Zack Cuddy's avatar Zack Cuddy

Geo Sites - Update replication button

This changes the text on
the replication summary button
and adds icon.

Changelog: changed
EE: true
parent 55a4cc5a
......@@ -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
......
......@@ -15869,6 +15869,9 @@ msgstr ""
msgid "Geo|Offline"
msgstr ""
msgid "Geo|Open replications"
msgstr ""
msgid "Geo|Pending synchronization"
msgstr ""
......@@ -15926,9 +15929,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