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 { ...@@ -9,7 +9,7 @@ export default {
name: 'GeoNodeReplicationSummary', name: 'GeoNodeReplicationSummary',
i18n: { i18n: {
replicationSummary: s__('Geo|Replication summary'), replicationSummary: s__('Geo|Replication summary'),
replicationDetailsButton: s__('Geo|Replication details'), replicationDetailsButton: s__('Geo|Open replications'),
replicationStatus: s__('Geo|Replication status'), replicationStatus: s__('Geo|Replication status'),
syncSettings: s__('Geo|Synchronization settings'), syncSettings: s__('Geo|Synchronization settings'),
}, },
...@@ -36,6 +36,7 @@ export default { ...@@ -36,6 +36,7 @@ export default {
<gl-button <gl-button
class="gl-ml-auto" class="gl-ml-auto"
variant="confirm" variant="confirm"
icon="external-link"
category="secondary" category="secondary"
:href="node.webGeoProjectsUrl" :href="node.webGeoProjectsUrl"
target="_blank" target="_blank"
......
...@@ -46,7 +46,7 @@ RSpec.describe 'GEO Nodes', :geo do ...@@ -46,7 +46,7 @@ RSpec.describe 'GEO Nodes', :geo do
end end
describe 'Geo Nodes admin screen' do 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 visit admin_geo_nodes_path
expect(page).to have_content(geo_primary.url) expect(page).to have_content(geo_primary.url)
...@@ -56,7 +56,7 @@ RSpec.describe 'GEO Nodes', :geo do ...@@ -56,7 +56,7 @@ RSpec.describe 'GEO Nodes', :geo do
expected_url = File.join(geo_secondary.url, '/admin/geo/projects') 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 end
end end
......
...@@ -15869,6 +15869,9 @@ msgstr "" ...@@ -15869,6 +15869,9 @@ msgstr ""
msgid "Geo|Offline" msgid "Geo|Offline"
msgstr "" msgstr ""
msgid "Geo|Open replications"
msgstr ""
msgid "Geo|Pending synchronization" msgid "Geo|Pending synchronization"
msgstr "" msgstr ""
...@@ -15926,9 +15929,6 @@ msgstr "" ...@@ -15926,9 +15929,6 @@ msgstr ""
msgid "Geo|Replication Details" msgid "Geo|Replication Details"
msgstr "" msgstr ""
msgid "Geo|Replication details"
msgstr ""
msgid "Geo|Replication slot WAL" msgid "Geo|Replication slot WAL"
msgstr "" 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