diff --git a/src/server_manager/messages/en.json b/src/server_manager/messages/en.json index 7ecf24e2..ce1352f9 100644 --- a/src/server_manager/messages/en.json +++ b/src/server_manager/messages/en.json @@ -8,7 +8,6 @@ "aws-lightsail-firewall-4": "Set 'Application' value to 'All TCP+UDP'.", "aws-lightsail-firewall-5": "Click 'Save'.", "cancel": "Cancel", - "outline-documentation": "Manager Resources", "geo-amsterdam": "Amsterdam", "geo-bangalore": "Bangalore", "geo-changhua-county": "Changhua County", @@ -144,6 +143,7 @@ "gcp-type-network-tag": "Type 'outline' in the 'Network tags' field.", "gcp-type-outline-server": "Type 'outline-server' in the 'Name' field.", "key": "Key {keyId}", + "manager-resources": "Manager Resources", "manual-server-assign-firewall": "Assign firewall rule", "manual-server-assign-group": "Assign Security Group", "manual-server-create-firewall": "Create a firewall rule", diff --git a/src/server_manager/messages/master_messages.json b/src/server_manager/messages/master_messages.json index cb30471d..e36880c6 100644 --- a/src/server_manager/messages/master_messages.json +++ b/src/server_manager/messages/master_messages.json @@ -69,10 +69,6 @@ "message": "Cancel", "description": "This string appears across the application as a button. Clicking it aborts the current flow." }, - "outline_documentation": { - "message": "Manager Resources", - "description": "This string appears within the manager sidebar as a link to the manager documentation." - }, "geo_amsterdam": { "message": "Amsterdam", "description": "Name of the city in the Netherlands." @@ -718,6 +714,10 @@ } } }, + "manager_resources": { + "message": "Manager Resources", + "description": "This string appears within the manager sidebar as a link to the manager documentation." + }, "manual_server_assign_firewall": { "message": "Assign firewall rule", "description": "This string appears in the server setup view as a sub-header of a section that provides instructions to configure the server's firewall." diff --git a/src/server_manager/web_app/ui_components/app-root.ts b/src/server_manager/web_app/ui_components/app-root.ts index a34d2410..031fc352 100644 --- a/src/server_manager/web_app/ui_components/app-root.ts +++ b/src/server_manager/web_app/ui_components/app-root.ts @@ -274,7 +274,7 @@ export class AppRoot extends polymerElementWithLocalize { #links-footer { margin-top: 36px; } - #appDrawer .documentation-link { + #appDrawer .manager-resources-link { color: var(--primary-green); display: flex; align-items: center; @@ -397,13 +397,13 @@ export class AppRoot extends polymerElementWithLocalize { - - [[localize('outline-documentation')]] - - + + [[localize('manager-resources')]] + + [[localize('nav-data-collection')]] [[localize('nav-feedback')]] [[localize('nav-help')]] @@ -710,7 +710,7 @@ export class AppRoot extends polymerElementWithLocalize { observer: '_currentPageChanged', }, shouldShowSideBar: {type: Boolean}, - shouldShowDocumentationLink: {type: Boolean}, + showManagerResourcesLink: {type: Boolean}, }; } @@ -724,7 +724,7 @@ export class AppRoot extends polymerElementWithLocalize { outlineVersion = ''; currentPage = 'intro'; shouldShowSideBar = false; - shouldShowDocumentationLink = false; + showManagerResourcesLink = false; constructor() { super(); @@ -781,7 +781,7 @@ export class AppRoot extends polymerElementWithLocalize { (this.$.sideBar as AppDrawerElement).align = alignDir; this.language = language; - this.shouldShowDocumentationLink = this.hasTranslation('outline-documentation'); + this.showManagerResourcesLink = this.hasTranslation('manager-resources'); } hasTranslation(key: string) {