|
|
@@ -66,28 +66,28 @@ class ImportCollectionConfigurationModal extends React.Component {
|
|
|
/* eslint-disable react/no-unescaped-entities */
|
|
|
return (
|
|
|
<>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt4"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.isOverwriteAuthorWithCurrentUser || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ isOverwriteAuthorWithCurrentUser: !option.isOverwriteAuthorWithCurrentUser })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt4" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt4" className="form-check-label">
|
|
|
{t(`${translationBase}.overwrite_author.label`)}
|
|
|
<p className="form-text text-muted mt-0" dangerouslySetInnerHTML={{ __html: t(`${translationBase}.overwrite_author.desc`) }} />
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt1"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.makePublicForGrant2 || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ makePublicForGrant2: !option.makePublicForGrant2 })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt1" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt1" className="form-check-label">
|
|
|
{t(`${translationBase}.set_public_to_page.label`, { from: t('Anyone with the link') })}
|
|
|
<p
|
|
|
className="form-text text-muted mt-0"
|
|
|
@@ -95,15 +95,15 @@ class ImportCollectionConfigurationModal extends React.Component {
|
|
|
/>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt2"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.makePublicForGrant4 || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ makePublicForGrant4: !option.makePublicForGrant4 })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt2" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt2" className="form-check-label">
|
|
|
{t(`${translationBase}.set_public_to_page.label`, { from: t('Only me') })}
|
|
|
<p
|
|
|
className="form-text text-muted mt-0"
|
|
|
@@ -111,15 +111,15 @@ class ImportCollectionConfigurationModal extends React.Component {
|
|
|
/>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt3"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.makePublicForGrant5 || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ makePublicForGrant5: !option.makePublicForGrant5 })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt3" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt3" className="form-check-label">
|
|
|
{t(`${translationBase}.set_public_to_page.label`, { from: t('Only inside the group') })}
|
|
|
<p
|
|
|
className="form-text text-muted mt-0"
|
|
|
@@ -127,28 +127,28 @@ class ImportCollectionConfigurationModal extends React.Component {
|
|
|
/>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt5"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.initPageMetadatas || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ initPageMetadatas: !option.initPageMetadatas })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt5" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt5" className="form-check-label">
|
|
|
{t(`${translationBase}.initialize_meta_datas.label`)}
|
|
|
<p className="form-text text-muted mt-0" dangerouslySetInnerHTML={{ __html: t(`${translationBase}.initialize_meta_datas.desc`) }} />
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt6"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.initHackmdDatas || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ initHackmdDatas: !option.initHackmdDatas })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt6" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt6" className="form-check-label">
|
|
|
{t(`${translationBase}.initialize_hackmd_related_datas.label`)}
|
|
|
<p className="form-text text-muted mt-0" dangerouslySetInnerHTML={{ __html: t(`${translationBase}.initialize_hackmd_related_datas.desc`) }} />
|
|
|
</label>
|
|
|
@@ -167,15 +167,15 @@ class ImportCollectionConfigurationModal extends React.Component {
|
|
|
/* eslint-disable react/no-unescaped-entities */
|
|
|
return (
|
|
|
<>
|
|
|
- <div className="custom-control form-check form-check-warning">
|
|
|
+ <div className="form-check form-check-warning">
|
|
|
<input
|
|
|
id="cbOpt1"
|
|
|
type="checkbox"
|
|
|
- className="custom-control-input"
|
|
|
+ className="form-check-input"
|
|
|
checked={option.isOverwriteAuthorWithCurrentUser || false} // add ' || false' to avoid uncontrolled input warning
|
|
|
onChange={() => this.changeHandler({ isOverwriteAuthorWithCurrentUser: !option.isOverwriteAuthorWithCurrentUser })}
|
|
|
/>
|
|
|
- <label htmlFor="cbOpt1" className="custom-control-label">
|
|
|
+ <label htmlFor="cbOpt1" className="form-check-label">
|
|
|
{t(`${translationBase}.overwrite_author.label`)}
|
|
|
<p className="form-text text-muted mt-0" dangerouslySetInnerHTML={{ __html: t(`${translationBase}.overwrite_author.desc`) }} />
|
|
|
</label>
|