Просмотр исходного кода

implemented so that the presentation button will go in to the 3dots

白石誠 5 лет назад
Родитель
Сommit
9bd242d714
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      src/client/js/components/Page/PageManagement.jsx

+ 5 - 0
src/client/js/components/Page/PageManagement.jsx

@@ -67,6 +67,11 @@ const PageManagement = (props) => {
         <button className="dropdown-item" type="button" onClick={openPageDuplicateModalHandler}>
         <button className="dropdown-item" type="button" onClick={openPageDuplicateModalHandler}>
           <i className="icon-fw icon-docs"></i> { t('Duplicate') }
           <i className="icon-fw icon-docs"></i> { t('Duplicate') }
         </button>
         </button>
+        <button className="dropdown-item" type="button">
+          <a href="?presentation=1" className="toggle-presentation d-inline-block w-100 text-dark text-decoration-none">
+            <i className="icon-film icon-fw"></i><span className="d-none d-sm-inline">{ t('Presentation Mode') }</span>
+          </a>
+        </button>
         <div className="dropdown-divider"></div>
         <div className="dropdown-divider"></div>
       </>
       </>
     );
     );