|
@@ -238,17 +238,17 @@ const PageCreateModal = (props) => {
|
|
|
<div id="dd-template-type" className="dropdown flex-fill">
|
|
<div id="dd-template-type" className="dropdown flex-fill">
|
|
|
<button id="template-type" type="button" className="btn btn-secondary btn dropdown-toggle w-100" data-toggle="dropdown">
|
|
<button id="template-type" type="button" className="btn btn-secondary btn dropdown-toggle w-100" data-toggle="dropdown">
|
|
|
{template == null && t('template.option_label.select') }
|
|
{template == null && t('template.option_label.select') }
|
|
|
- {template === 'children' && t('template.children.label')}
|
|
|
|
|
- {template === 'decendants' && t('template.decendants.label')}
|
|
|
|
|
|
|
+ {template === 'children' && t('template.children.label') }
|
|
|
|
|
+ {template === 'decendants' && t('template.decendants.label') }
|
|
|
</button>
|
|
</button>
|
|
|
<div className="dropdown-menu" aria-labelledby="userMenu">
|
|
<div className="dropdown-menu" aria-labelledby="userMenu">
|
|
|
<button className="dropdown-item" type="button" onClick={() => onChangeTemplateHandler('children')}>
|
|
<button className="dropdown-item" type="button" onClick={() => onChangeTemplateHandler('children')}>
|
|
|
{ t('template.children.label') } (_template)<br className="d-block d-md-none" />
|
|
{ t('template.children.label') } (_template)<br className="d-block d-md-none" />
|
|
|
- <small className="text-muted text-wrap">- {t('template.children.desc')}</small>
|
|
|
|
|
|
|
+ <small className="text-muted text-wrap">- { t('template.children.desc') }</small>
|
|
|
</button>
|
|
</button>
|
|
|
<button className="dropdown-item" type="button" onClick={() => onChangeTemplateHandler('decendants')}>
|
|
<button className="dropdown-item" type="button" onClick={() => onChangeTemplateHandler('decendants')}>
|
|
|
{ t('template.decendants.label') } (__template) <br className="d-block d-md-none" />
|
|
{ t('template.decendants.label') } (__template) <br className="d-block d-md-none" />
|
|
|
- <small className="text-muted">- {t('template.decendants.desc')}</small>
|
|
|
|
|
|
|
+ <small className="text-muted">- { t('template.decendants.desc') }</small>
|
|
|
</button>
|
|
</button>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|