Skip to content

Commit

Permalink
Adjust overridable ids
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahW91 committed Dec 7, 2023
1 parent 8db39eb commit dd898a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function CustomAwardForm({ deserializeFunder, selectedFunding }) {

return (
<Form>
<Overridable id="ReactInvenioDeposit.CustomAwardForm.RemoteSelectField.SelectedFundingFunderId">
<Overridable id="InvenioVocabularies.CustomAwardForm.RemoteSelectField.SelectedFundingFunderId">
<RemoteSelectField
fieldPath="selectedFunding.funder.id"
suggestionAPIUrl="/api/funders"
Expand Down Expand Up @@ -91,26 +91,26 @@ function CustomAwardForm({ deserializeFunder, selectedFunding }) {
/>
</Overridable>

<Overridable id="ReactInvenioDeposit.CustomAwardForm.AwardInformation.container">
<Overridable id="InvenioVocabularies.CustomAwardForm.AwardInformation.container">
<Header as="h3" size="small">
{i18next.t("Award information (optional)")}
</Header>
<Form.Group widths="equal">
<Overridable id="ReactInvenioDeposit.CustomAwardForm.AwardNumber.TextField">
<Overridable id="InvenioVocabularies.CustomAwardForm.AwardNumber.TextField">
<TextField
label={i18next.t("Number")}
placeholder={i18next.t("Award number")}
fieldPath="selectedFunding.award.number"
/>
</Overridable>
<Overridable id="ReactInvenioDeposit.CustomAwardForm.AwardTitle.TextField">
<Overridable id="InvenioVocabularies.CustomAwardForm.AwardTitle.TextField">
<TextField
label={i18next.t("Title")}
placeholder={i18next.t("Award Title")}
fieldPath="selectedFunding.award.title"
/>
</Overridable>
<Overridable id="ReactInvenioDeposit.CustomAwardForm.AwardUrl.TextField">
<Overridable id="InvenioVocabularies.CustomAwardForm.AwardUrl.TextField">
<TextField
label={i18next.t("URL")}
placeholder={i18next.t("Award URL")}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ function FundingFieldForm(props) {
})}
</List>

<Overridable id="ReactInvenioDeposit.FundingField.AddAward.Button">
<Overridable id="InvenioVocabularies.FundingField.AddAward.Button">
<FundingModal
searchConfig={searchConfig}
trigger={
Expand All @@ -137,7 +137,7 @@ function FundingFieldForm(props) {
/>
</Overridable>

<Overridable id="ReactInvenioDeposit.FundingField.AddCustom.Button">
<Overridable id="InvenioVocabularies.FundingField.AddCustom.Button">
<FundingModal
searchConfig={searchConfig}
trigger={
Expand Down

0 comments on commit dd898a2

Please sign in to comment.