Steven Fukase 4 лет назад
Родитель
Сommit
4dcbe5bf24
1 измененных файлов с 10 добавлено и 10 удалено
  1. 10 10
      src/client/js/components/PageCreateModal.jsx

+ 10 - 10
src/client/js/components/PageCreateModal.jsx

@@ -135,7 +135,7 @@ const PageCreateModal = (props) => {
     return (
       <div className="row">
         <fieldset className="col-12 mb-4">
-          <h3 className="grw-modal-head pb-2">{t("Create today's")}</h3>
+          <h3 className="grw-modal-head pb-2">{ t("Create today's") }</h3>
 
           <div className="d-sm-flex align-items-center justify-items-between">
 
@@ -166,7 +166,7 @@ const PageCreateModal = (props) => {
 
             <div className="d-flex justify-content-end mt-1 mt-sm-0">
               <button type="button" className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3" onClick={createTodayPage}>
-                <i className="icon-fw icon-doc"></i>{t('Create')}
+                <i className="icon-fw icon-doc"></i>{ t('Create') }
               </button>
             </div>
 
@@ -181,7 +181,7 @@ const PageCreateModal = (props) => {
     return (
       <div className="row">
         <fieldset className="col-12 mb-4">
-          <h3 className="grw-modal-head pb-2">{t('Create under')}</h3>
+          <h3 className="grw-modal-head pb-2">{ t('Create under') }</h3>
 
           <div className="d-sm-flex align-items-center justify-items-between">
 
@@ -212,7 +212,7 @@ const PageCreateModal = (props) => {
 
             <div className="d-flex justify-content-end mt-1 mt-sm-0">
               <button type="button" className="grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3" onClick={createInputPage}>
-                <i className="icon-fw icon-doc"></i>{t('Create')}
+                <i className="icon-fw icon-doc"></i>{ t('Create') }
               </button>
             </div>
 
@@ -229,7 +229,7 @@ const PageCreateModal = (props) => {
         <fieldset className="col-12">
 
           <h3 className="grw-modal-head pb-2">
-            {t('template.modal_label.Create template under')}<br />
+            { t('template.modal_label.Create template under') }<br />
             <code className="h6">{pathname}</code>
           </h3>
 
@@ -237,17 +237,17 @@ const PageCreateModal = (props) => {
 
             <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">
-                {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')}
               </button>
               <div className="dropdown-menu" aria-labelledby="userMenu">
                 <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>
                 </button>
                 <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>
                 </button>
               </div>
@@ -259,7 +259,7 @@ const PageCreateModal = (props) => {
                 className={`grw-btn-create-page btn btn-outline-primary rounded-pill text-nowrap ml-3 ${template == null && 'disabled'}`}
                 onClick={createTemplatePage}
               >
-                <i className="icon-fw icon-doc"></i>{t('Edit')}
+                <i className="icon-fw icon-doc"></i>{ t('Edit') }
               </button>
             </div>
 
@@ -279,7 +279,7 @@ const PageCreateModal = (props) => {
       autoFocus={false}
     >
       <ModalHeader tag="h4" toggle={navigationContainer.closePageCreateModal} className="bg-primary text-light">
-        {t('New Page')}
+        { t('New Page') }
       </ModalHeader>
       <ModalBody>
         {renderCreateTodayForm()}