Updated documentation links

Closes-bug: #1545744

Change-Id: I2f63c9b4c00d415689c08d69f8bbb46fd3885a0a
(cherry picked from commit 10a79870b5)
This commit is contained in:
Kate Pimenova 2016-05-13 17:53:02 +03:00 committed by Vitaly Kramskikh
parent 0b9c691361
commit 57c4fa63ad
5 changed files with 9 additions and 60 deletions

View File

@ -310,7 +310,6 @@
"centos": "CentOS",
"more_info": "For more information, visit",
"plugins_catalog": "Plugins Catalog",
"plugins_documentation": "Plugins Documentation",
"no_plugins": "There are no plugins installed.",
"unsupported_plugin": "Plugin is incompatible with all supported releases"
},
@ -650,7 +649,7 @@
"openstack_documentation": "OpenStack Documentation",
"documentation_description": "Quick access to the documentation on how to deploy and configure your OpenStack environment:",
"no_nodes_warning_add_them": "No nodes found in this environment. Please add nodes in the Nodes tab and try again.",
"plugin_documentation": "Plugin Documentation",
"plugin_documentation": "Plugin Developer Documentation",
"technical_bulletins": "Technical Bulletins",
"cluster_information": "Cluster Information",
"summary": "Summary",
@ -666,11 +665,9 @@
"no_nodes_instruction": "You must add at least one node to your environment in order to deploy. See the ",
"locked_settings_alert": "Before proceeding with deployment please verify that the nodes have disk partitioning and network interfaces configured properly. You will not be able to change these via UI after the cloud is deployed.",
"redeployment_alert": "You have made configuration changes which will now be applied to nodes in this environment. Please note that during settings change some services on OpenStack nodes may be restarted, availability of some APIs and resources may be interrupted. For Production clouds, please make sure that the cloud is properly set into maintenance mode prior to performing configuration changes.",
"package_information": "Packages and updates are fetched from the repositories defined in the Settings tab. If your environment uses the default external repositories, verify that the Fuel Master node can access the Internet. If the Fuel Master node is not connected to the Internet, you must set up a local mirror and configure Fuel to upload packages from the local mirror. Fuel must have network access to the local mirror. You may also configure alternate repositories for installation. For more information, see ",
"package_information": "Packages and updates are fetched from the repositories defined in the Settings tab. If your environment uses the default external repositories, verify that the Fuel Master node can access the Internet. If the Fuel Master node is not connected to the Internet, you must set up a local mirror and configure Fuel to upload packages from the local mirror. Fuel must have network access to the local mirror. You may also configure alternate repositories for installation.",
"user_guide": "User Guide",
"operations_guide": "Operations Guide",
"for_more_information_roles": "for more information on how to assign roles to nodes and add them to an OpenStack environment.",
"for_more_information_configuration": " for more information on how to configure an OpenStack environment and node settings.",
"and_vcenter": "and VCenter",
"nova_with": "Nova Network with",
"neutron_with": "Neutron with",
@ -1483,7 +1480,6 @@
"centos": "CentOS",
"more_info": "详情请访问:",
"plugins_catalog": "插件类别",
"plugins_documentation": "插件文档",
"no_plugins": "未安装插件。"
},
"clusters_page": {
@ -1819,9 +1815,7 @@
"locked_settings_alert": "在继续前请重新检查环境配置包括节点磁盘分区和网络配置在Fuel部署完该OpenStack环境后这些设置均无法更改",
"package_information": "Packages and updates are fetched from the repositories defined in the Settings tab. If your environment uses the default external repositories, verify that the Fuel Master node can access the Internet. If the Fuel Master node is not connected to the Internet, you must set up a local mirror and configure Fuel to upload packages from the local mirror. Fuel must have network access to the local mirror. You may also configure alternate repositories for installation. For more information, see ",
"user_guide": "用户指南",
"operations_guide": "操作指南",
"for_more_information_roles": "有关如何将角色分配给节点并将它们添加到OpenStack环境的详细信息",
"for_more_information_configuration": "关于如何配置OpenStack环境和节点设置的详细信息",
"and_vcenter": "和VCenter",
"nova_with": "Nova Network with",
"neutron_with": "Neutron with",

View File

@ -318,10 +318,6 @@ var utils = {
}
return options.desc ? -result : result;
},
composeDocumentationLink(link) {
return 'https://docs.fuel-infra.org/openstack/fuel/fuel-'
+ app.version.get('release') + '/' + link;
},
makePath(...args) {
return args.join('.');
},

View File

@ -597,10 +597,6 @@ var ClusterActionsPanel = React.createClass({
deploy: <InstructionElement
description='deployment_of_environment_cannot_be_started'
isAlert
link={{
url: 'user-guide.html#add-nodes-ug',
title: 'user_guide'
}}
explanation='for_more_information_roles'
/>
};
@ -799,10 +795,6 @@ var ClusterActionsPanel = React.createClass({
<h4>{i18n(ns + 'new_environment_welcome')}</h4>
<InstructionElement
description='no_nodes_instruction'
link={{
url: 'user-guide.html#add-nodes-ug',
title: 'user_guide'
}}
explanation='for_more_information_roles'
/>
<AddNodesButton cluster={cluster} />
@ -1329,15 +1321,10 @@ var InstructionElement = React.createClass({
};
},
render() {
var {description, isAlert, link, explanation} = this.props;
var {description, isAlert, explanation} = this.props;
return (
<div className={utils.classNames({instruction: true, invalid: isAlert})}>
{i18n(ns + description) + (link ? ' ' : '')}
{link &&
<a href={utils.composeDocumentationLink(link.url)} target='_blank'>
{i18n(ns + link.title)}
</a>
}
{i18n(ns + description)}
{explanation ? ' ' + i18n(ns + explanation) : '.'}
</div>
);

View File

@ -473,14 +473,7 @@ export var DeployClusterDialog = React.createClass({
<div className='text-warning'>
<i className='glyphicon glyphicon-warning-sign' />
<div className='instruction'>
{i18n(warningNs + 'package_information') + ' '}
<a
target='_blank'
href={utils.composeDocumentationLink('operations.html#troubleshooting')}
>
{i18n(warningNs + 'operations_guide')}
</a>
{i18n(warningNs + 'for_more_information_configuration')}
{i18n(warningNs + 'package_information')}
</div>
</div>
</div>
@ -548,14 +541,7 @@ export var ProvisionNodesDialog = React.createClass({
<div className='text-warning'>
<i className='glyphicon glyphicon-warning-sign' />
<div className='instruction'>
{i18n('cluster_page.dashboard_tab.package_information') + ' '}
<a
target='_blank'
href={utils.composeDocumentationLink('operations.html#troubleshooting')}
>
{i18n('cluster_page.dashboard_tab.operations_guide')}
</a>
{i18n('cluster_page.dashboard_tab.for_more_information_configuration')}
{i18n('cluster_page.dashboard_tab.package_information')}
</div>
</div>
<div className='confirmation-question'>
@ -621,14 +607,7 @@ export var DeployNodesDialog = React.createClass({
<div className='text-warning'>
<i className='glyphicon glyphicon-warning-sign' />
<div className='instruction'>
{i18n('cluster_page.dashboard_tab.package_information') + ' '}
<a
target='_blank'
href={utils.composeDocumentationLink('operations.html#troubleshooting')}
>
{i18n('cluster_page.dashboard_tab.operations_guide')}
</a>
{i18n('cluster_page.dashboard_tab.for_more_information_configuration')}
{i18n('cluster_page.dashboard_tab.package_information')}
</div>
</div>
<div className='confirmation-question'>

View File

@ -129,10 +129,6 @@ var PluginsPage = React.createClass({
);
},
render() {
var links = {
catalog: 'http://stackalytics.com/report/driverlog?project_id=openstack%2Ffuel',
documentation: utils.composeDocumentationLink('plugin-dev.html')
};
return (
<div className='plugins-page'>
<div className='page-title'>
@ -149,12 +145,9 @@ var PluginsPage = React.createClass({
{!this.props.plugins.length && i18n('plugins_page.no_plugins')}{' '}
<span>
{i18n('plugins_page.more_info')}{' '}
<a href={links.catalog} target='_blank'>
<a href='http://stackalytics.com/report/driverlog?project_id=openstack%2Ffuel'
target='_blank'>
{i18n('plugins_page.plugins_catalog')}
</a>{' '}
{i18n('common.and')}{' '}
<a href={links.documentation} target='_blank'>
{i18n('plugins_page.plugins_documentation')}
</a>
</span>
</div>