Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#1536 | correcting Auto-Expand texts
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed Jul 6, 2023
1 parent 5d01463 commit e23aba8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/collections/CollectionFormConfigs.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const CONFIG = {
tooltip: "A unique identifier for your Collection in URL format. It will allow you to leverage OCL's powerful collection management features using this Collection."
},
autoexpandHEAD: {
label: 'Auto Expand HEAD',
label: 'Auto-Expand HEAD',
tooltip: "If enabled, updates to your collection's references will automatically be evaluated and reflected in your collection's HEAD version using the collection's default settings. Disable this to have full control over when and how your references are evaluated."
},
website: {
Expand Down
4 changes: 2 additions & 2 deletions src/components/collections/VersionList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ const VersionList = ({ canEdit, onUpdate, onCreateExpansionClick, collection })
{
version.autoexpand &&
<span style={{paddingTop: '5px'}}>
<Tooltip arrow title='Auto Expanded' placement='right'>
<Tooltip arrow title='Auto-Expand' placement='right'>
<ExpansionIcon style={{color: GREEN, marginLeft: '15px', width: '16px'}} />
</Tooltip>
</span>
Expand Down Expand Up @@ -340,7 +340,7 @@ const VersionList = ({ canEdit, onUpdate, onCreateExpansionClick, collection })
{
isAuto &&
<span style={{paddingTop: '5px'}}>
<Tooltip arrow title='Auto Generated Expansion' placement='right'>
<Tooltip arrow title='Auto-Expand' placement='right'>
<AutoIcon style={{marginLeft: '10px', width: '16px'}} />
</Tooltip>
</span>
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/ConceptContainerVersionForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ class ConceptContainerVersionForm extends React.Component {
<div className='col-md-12' style={{width: '100%', marginTop: '15px'}}>
<FormControlLabel
control={<Checkbox checked={Boolean(fields.autoexpand)} onChange={this.onCheckboxChange} name="fields.autoexpand" />}
label="Auto Expand"
label="Auto-Expand"
disabled={edit}
/>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/common/ExpansionChip.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { Tooltip, Chip } from '@mui/material';
import { ERROR_RED } from '../../common/constants';

const ExpansionChip = ({ expanded }) => {
const label = 'Auto Expanded';
const title = expanded ? 'Auto Expanded' : 'Not expanded automatically'
const label = 'Auto-Expand';
const title = expanded ? 'Auto-Expand' : 'Not expanded automatically'
return (
<Tooltip arrow title={title} placement="top">
<Chip
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/ResourceVersionLabel.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const ResourceVersionLabel = props => {
{
props.includeExpansionIcon && props.autoexpand &&
<span style={{marginLeft: '10px', display: 'inline-flex', verticalAlign: 'middle'}}>
<Tooltip arrow title='Auto Expanded' placement='right'>
<Tooltip arrow title='Auto-Expand' placement='right'>
<ExpansionIcon style={{color: GREEN}}/>
</Tooltip>
</span>
Expand Down

0 comments on commit e23aba8

Please sign in to comment.