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

Merge pull request #3963 from weseek/imprv/hide-links-in-with-and-official

Imprv/hide links in with and official
itizawa 4 лет назад
Родитель
Сommit
28bbf8262c

+ 2 - 2
src/client/js/components/Admin/SlackIntegration/CustomBotWithProxySettings.jsx

@@ -66,8 +66,8 @@ const CustomBotWithProxySettings = (props) => {
   return (
     <>
       <h2 className="admin-setting-header mb-2">{t('admin:slack_integration.custom_bot_with_proxy_integration')}
-        {/* TODO: add an appropriate links by GW-5614 */}
-        <i className="fa fa-external-link btn-link ml-2" aria-hidden="true"></i>
+        {/* TODO: If Bot-manual section of docs is merged into master, show links and add an appropriate links by GW-5614. */}
+        {/* <i className="fa fa-external-link btn-link ml-2" aria-hidden="true"></i> */}
       </h2>
 
       {slackAppIntegrations.length !== 0 && (

+ 2 - 2
src/client/js/components/Admin/SlackIntegration/OfficialBotSettings.jsx

@@ -67,8 +67,8 @@ const OfficialBotSettings = (props) => {
   return (
     <>
       <h2 className="admin-setting-header">{t('admin:slack_integration.official_bot_integration')}
-        {/* TODO: add an appropriate links by GW-5614 */}
-        <i className="fa fa-external-link btn-link ml-2" aria-hidden="true"></i>
+        {/* TODO: If Bot-manual section of docs is merged into master, show links and add an appropriate links by GW-5614. */}
+        {/* <i className="fa fa-external-link btn-link ml-2" aria-hidden="true"></i> */}
       </h2>
 
       {slackAppIntegrations.length !== 0 && (

+ 6 - 6
src/client/js/components/Admin/SlackIntegration/WithProxyAccordions.jsx

@@ -22,15 +22,15 @@ const BotCreateProcess = () => {
         {t('admin:slack_integration.accordion.create_bot')}
         <i className="fa fa-external-link ml-2" aria-hidden="true" />
       </button>
-      {/* TODO: Insert DOCS link */}
-      <a href="#">
+      {/* TODO: If Bot-manual section of docs is merged into master, show links and add an appropriate links by GW-5614. */}
+      {/* <a href="#">
         <p className="text-center mt-1">
           <small>
             {t('admin:slack_integration.accordion.how_to_create_a_bot')}
             <i className="fa fa-external-link ml-2" aria-hidden="true" />
           </small>
         </p>
-      </a>
+      </a> */}
     </div>
   );
 };
@@ -43,15 +43,15 @@ const BotInstallProcessForOfficialBot = () => {
         {t('admin:slack_integration.accordion.install_now')}
         <i className="fa fa-external-link ml-2" aria-hidden="true" />
       </button>
-      {/* TODO: Insert DOCS link */}
-      <a href="#">
+      {/* TODO: If Bot-manual section of docs is merged into master, show links and add an appropriate links by GW-5614. */}
+      {/* <a href="#">
         <p className="text-center mt-1">
           <small>
             {t('admin:slack_integration.accordion.how_to_install')}
             <i className="fa fa-external-link ml-2" aria-hidden="true" />
           </small>
         </p>
-      </a>
+      </a> */}
     </div>
   );
 };