Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions modules/candidate_list/jsx/candidateListIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class CandidateListIndex extends Component {
},
},
{
label: this.props.t('Site', {ns: 'loris'}),
label: this.props.t('Site', {ns: 'loris', count: 1}),
show: true,
filter: {
name: 'site',
Expand Down Expand Up @@ -326,7 +326,7 @@ class CandidateListIndex extends Component {
},
},
{
'label': this.props.t('Project', {ns: 'loris'}),
'label': this.props.t('Project', {ns: 'loris', count: 1}),
'show': true,
'filter': {
name: 'project',
Expand Down
4 changes: 2 additions & 2 deletions modules/candidate_profile/jsx/CandidateInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ class CandidateInfo extends Component {
value: this.props.Candidate.Meta.Sex,
},
{
label: this.props.t('Project', {ns: 'loris'}),
label: this.props.t('Project', {ns: 'loris', count: 1}),
value: this.props.Candidate.Meta.Project,
},
{
label: this.props.t('Cohort', {ns: 'loris', count: cohorts.length}),
value: cohorts.join(', '),
},
{
label: this.props.t('Site', {ns: 'loris'}),
label: this.props.t('Site', {ns: 'loris', count: 1}),
value: this.props.Candidate.Meta.Site,
},
{
Expand Down
6 changes: 3 additions & 3 deletions modules/create_timepoint/jsx/createTimepointIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ class CreateTimepoint extends React.Component {
<SelectElement
id={'cohort'}
name={'cohort'}
label={t('Cohort', {ns: 'loris'})}
label={t('Cohort', {ns: 'loris', count: 1})}
value={this.state.form.value.cohort}
options={this.state.form.options.cohort}
onUserInput={this.setForm}
Expand All @@ -389,7 +389,7 @@ class CreateTimepoint extends React.Component {
<SelectElement
id={'psc'}
name={'psc'}
label={t('Site', {ns: 'loris'})}
label={t('Site', {ns: 'loris', count: 1})}
value={this.state.form.value.psc}
options={this.state.form.options.psc}
onUserInput={this.setForm}
Expand All @@ -404,7 +404,7 @@ class CreateTimepoint extends React.Component {
<SelectElement
id={'project'}
name={'project'}
label={t('Project', {ns: 'loris'})}
label={t('Project', {ns: 'loris', count: 1})}
value={this.state.form.value.project}
options={this.state.form.options.project}
onUserInput={this.setForm}
Expand Down
8 changes: 4 additions & 4 deletions modules/new_profile/jsx/NewProfileIndex.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ class NewProfileIndex extends React.Component {
site =
<SelectElement
name = "site"
label = {this.props.t('Site', {ns: 'loris'})}
label = {this.props.t('Site', {ns: 'loris', count: 1})}
options = {this.state.configData.site}
onUserInput = {this.setFormData}
value = {this.state.formData.site}
Expand Down Expand Up @@ -342,19 +342,19 @@ class NewProfileIndex extends React.Component {
),
},
{
label: this.props.t('Site', {ns: 'loris'}),
label: this.props.t('Site', {ns: 'loris', count: 1}),
element: site,
},
{
label: this.props.t('PSCID', {ns: 'loris'}),
element: pscid,
},
{
label: this.props.t('Project', {ns: 'loris'}),
label: this.props.t('Project', {ns: 'loris', count: 1}),
element: (
<SelectElement
name = "project"
label = {this.props.t('Project', {ns: 'loris'}) }
label = {this.props.t('Project', {ns: 'loris', count: 1}) }
options = {this.state.configData.project}
onUserInput = {this.setFormData}
value = {this.state.formData.project}
Expand Down
Loading