Skip to content

Commit

Permalink
Rename clevercloud
Browse files Browse the repository at this point in the history
  • Loading branch information
baudelotphilippe committed Jan 9, 2024
1 parent 996cf8e commit 60e9e24
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion otoroshi/javascript/src/components/TopBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ export class TopBar extends Component {
value: 'Audit-Log',
});
options.push({
label: 'CleverCloud Apps',
label: 'Clever Cloud Apps',
value: 'CleverCloud-Apps',
env: <i className="fas fa-list-alt" />,
action: () => this.routeTo('/clever'),
Expand Down
6 changes: 3 additions & 3 deletions otoroshi/javascript/src/pages/CleverPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class CleverPage extends Component {
cell: (value) => (value ? <Link to={value}>View service</Link> : ''),
},
{
title: 'Clevercloud',
title: 'Clever Cloud',
style: { textAlign: 'center', width: 100 },
notFilterable: true,
content: (item) => (item.exists ? item.console : ''),
Expand Down Expand Up @@ -67,7 +67,7 @@ export class CleverPage extends Component {
];

componentDidMount() {
this.props.setTitle(`Clevercloud Apps`);
this.props.setTitle(`Clever Cloud Apps`);
}

createService = (e, slug) => {
Expand All @@ -91,7 +91,7 @@ export class CleverPage extends Component {
<Table
parentProps={this.props}
selfUrl="clever"
defaultTitle="Clevercloud Apps"
defaultTitle="Clever Cloud Apps"
defaultValue={() => ({})}
itemName="user"
columns={this.columns}
Expand Down
12 changes: 6 additions & 6 deletions otoroshi/javascript/src/pages/DangerZonePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -890,15 +890,15 @@ export class DangerZonePage extends Component {
'cleverSettings.consumerKey': {
type: 'string',
props: {
label: 'CleverCloud consumer key',
placeholder: 'CleverCloud consumer key',
label: 'Clever Cloud consumer key',
placeholder: 'Clever Cloud consumer key',
},
},
'cleverSettings.consumerSecret': {
type: 'string',
props: {
label: 'CleverCloud consumer secret',
placeholder: 'CleverCloud consumer secret',
label: 'Clever Cloud consumer secret',
placeholder: 'Clever Cloud consumer secret',
},
},
'cleverSettings.token': {
Expand All @@ -918,8 +918,8 @@ export class DangerZonePage extends Component {
'cleverSettings.orgaId': {
type: 'string',
props: {
label: 'CleverCloud orga. Id',
placeholder: 'CleverCloud orga. Id',
label: 'Clever Cloud orga. Id',
placeholder: 'Clever Cloud orga. Id',
},
},
'statsdConfig.datadog': {
Expand Down
2 changes: 1 addition & 1 deletion otoroshi/javascript/src/pages/FeaturesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const graph = (env) => {
icon: () => snowmonkeyIcon,
},
{
title: 'Clever cloud apps',
title: 'Clever Cloud apps',
img: 'clever',
description: 'Create routes from Clever Cloud apps',
display: () => env.userAdmin,
Expand Down
4 changes: 2 additions & 2 deletions otoroshi/javascript/src/pages/ServicePage.js
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ class CleverSelector extends Component {
</button>
<ReactSelectOverride
style={{ width: 300, border: '1px solid #ccc' }}
placeholder="Select a target from CleverCloud"
placeholder="Select a target from Clever Cloud"
value={this.state.value}
options={this.state.services.map((s) => ({ label: s.name, value: s.url }))}
onChange={(v) => this.onChange({ value: v })}
Expand All @@ -600,7 +600,7 @@ class CleverSelector extends Component {
}
return (
<button type="button" className="btn btn-sm btn-success" onClick={this.show}>
<i className="fas fa-plus-circle" /> Select a target from CleverCloud
<i className="fas fa-plus-circle" /> Select a target from Clever Cloud
</button>
);
}
Expand Down

0 comments on commit 60e9e24

Please sign in to comment.