Skip to content

Commit

Permalink
Update application and service names (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpro committed Mar 30, 2024
1 parent 53e9974 commit 473b9a4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/src/app/configs/navigation-i18n/en.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const locale = {
APPLICATIONS: 'APPLICATIONS',
APPLICATIONS: 'SERVICES',
EXAMPLE: 'Example',
};

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/main/applications/Applications.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const Application = () => {

return (
<FusePageCarded
header={<TableHeader title='Applications' />}
header={<TableHeader title='Services' />}
content={<ApplicationsTable />}
scroll={isMobile ? 'normal' : 'content'}
className='px-24'
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/app/main/applications/ApplicationsModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ const ApplicationsModal = ({ openModal, setOpenModal, kubernetesConfiguration, t
<div>
<Dialog open={open} onClose={handleClose} fullWidth maxWidth='sm'>
<form onSubmit={handleSubmitInstall}>
<DialogTitle className='bg-primary text-center text-white'>Deploy Application</DialogTitle>
<DialogTitle className='bg-primary text-center text-white'>Create Service</DialogTitle>
<DialogContent className='pb-0 overflow-y-hidden'>
<div className='mt-24'>Create a new applicaion</div>
<div className='mt-24'>Create a new service</div>
<TemplateInputs
setTemplateFormData={setTemplateFormData}
clearMessages={clearMessages}
Expand Down Expand Up @@ -152,7 +152,7 @@ const ApplicationsModal = ({ openModal, setOpenModal, kubernetesConfiguration, t
startIcon={<AddIcon />}
variant='contained'
>
Deploy
Create
</LoadingButton>
</div>
</DialogActions>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/main/applications/ApplicationsTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const ApplicationsTable = () => {
/>
</FormGroup>
<Button variant='contained' color='primary' startIcon={<AddIcon />} onClick={() => setOpenModal(true)}>
Deploy Application
Create Service
</Button>
</div>
<Paper className='h-full mx-24 rounded'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const TemplateInputs = ({ setTemplateFormData, clearMessages, templateFromCatalo
>
{templates?.map((template) => (
<MenuItem key={template.id} value={template.id}>
{`${template.name} ${template.revision}`}
{`${template.name} (Rev. ${template.revision})`}
</MenuItem>
))}
</Select>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/main/templates/CatalogList/CatalogList.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const CatalogList = ({ transformedTemplates }) => {
setTemplate(template);
}}
>
Deploy
Create
</Button>
</CardActions>
</Card>
Expand Down

0 comments on commit 473b9a4

Please sign in to comment.