Commit 31471b78 authored by Zack Cuddy's avatar Zack Cuddy

Geo - Rename Open projects button

This change updates the Open Projects
button to be called Replcation
details.

This aligns it with the page title
of the page it takes you to,
Geo Replication.
parent 61a2fa9b
...@@ -98,7 +98,7 @@ export default { ...@@ -98,7 +98,7 @@ export default {
> >
<span class="gl-display-flex gl-align-items-center"> <span class="gl-display-flex gl-align-items-center">
<gl-icon v-if="!node.current" name="external-link" class="gl-mr-2" /> <gl-icon v-if="!node.current" name="external-link" class="gl-mr-2" />
{{ __('Open projects') }} {{ __('Replication details') }}
</span> </span>
</gl-button> </gl-button>
<template v-if="nodeActionsAllowed"> <template v-if="nodeActionsAllowed">
......
---
title: Geo - Rename Open projects Button to Replication details
merge_request: 45434
author:
type: changed
...@@ -45,7 +45,7 @@ RSpec.describe 'GEO Nodes', :geo do ...@@ -45,7 +45,7 @@ RSpec.describe 'GEO Nodes', :geo do
end end
describe 'Geo Nodes admin screen' do describe 'Geo Nodes admin screen' do
it "has a 'Open projects' button on listed secondary geo nodes pointing to correct URL", :js do it "has a 'Replication details' 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
geo_node_actions = all('[data-testid="nodeActions"]') geo_node_actions = all('[data-testid="nodeActions"]')
expected_url = File.join(geo_secondary.url, '/admin/geo/projects') expected_url = File.join(geo_secondary.url, '/admin/geo/projects')
expect(geo_node_actions.last).to have_link('Open projects', href: expected_url) expect(geo_node_actions.last).to have_link('Replication details', href: expected_url)
end end
end end
end end
......
...@@ -18472,9 +18472,6 @@ msgstr "" ...@@ -18472,9 +18472,6 @@ msgstr ""
msgid "Open issues" msgid "Open issues"
msgstr "" msgstr ""
msgid "Open projects"
msgstr ""
msgid "Open raw" msgid "Open raw"
msgstr "" msgstr ""
...@@ -22082,6 +22079,9 @@ msgstr "" ...@@ -22082,6 +22079,9 @@ msgstr ""
msgid "Replication" msgid "Replication"
msgstr "" msgstr ""
msgid "Replication details"
msgstr ""
msgid "Replication enabled" msgid "Replication enabled"
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