webpack/src/Components/Environments/Welcome.js in foreman_puppet-1.0.3 vs webpack/src/Components/Environments/Welcome.js in foreman_puppet-1.0.4
- old
+ new
@@ -5,14 +5,14 @@
import { foremanUrl, getManualURL } from 'foremanReact/common/helpers';
export const WelcomeEnv = ({ canCreate }) => {
const action = canCreate && {
title: __('Create Puppet Environment'),
- url: foremanUrl('environments/new'),
+ url: foremanUrl('/foreman_puppet/environments/new'),
};
const content = __(`If you are planning to use Foreman as an external node classifier you should provide information about one or more environments.<br/>
- This information is commonly imported from a pre-existing Puppet configuration by the use of the <a href=${getManualURL(
+ This information is commonly imported from a pre-existing Puppet configuration by the use of the <a target="_blank" href=${getManualURL(
'4.2.2Classes'
)}>Puppet classes and environment importer.</a>`);
return (
<EmptyState
icon="th"