Shun Miyazawa 4 лет назад
Родитель
Сommit
137e76e9c9

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

@@ -66,8 +66,9 @@ const CustomBotWithProxySettings = (props) => {
   return (
     <>
       <h2 className="admin-setting-header mb-2">{t('admin:slack_integration.custom_bot_with_proxy_integration')}
-        {/* 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> */}
+        <i className="fa fa-external-link btn-link ml-2"
+           aria-hidden="true"
+           onClick={() => window.open('https://docs.growi.org/en/admin-guide/management-cookbook/slack-integration/custom-bot-with-proxy-settings.html', '_blank')}></i>
       </h2>
 
       {slackAppIntegrations.length !== 0 && (

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

@@ -21,8 +21,9 @@ const CustomBotWithoutProxySettings = (props) => {
   return (
     <>
       <h2 className="admin-setting-header">{t('admin:slack_integration.custom_bot_without_proxy_integration')}
-        {/* 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> */}
+        <i className="fa fa-external-link btn-link ml-2"
+           aria-hidden="true"
+           onClick={() => window.open('https://docs.growi.org/en/admin-guide/management-cookbook/slack-integration/custom-bot-without-proxy-settings.html', '_blank')}></i>
       </h2>
 
       <CustomBotWithoutProxyConnectionStatus

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

@@ -47,8 +47,9 @@ const OfficialBotSettings = (props) => {
   return (
     <>
       <h2 className="admin-setting-header">{t('admin:slack_integration.official_bot_integration')}
-        {/* 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> */}
+        <i className="fa fa-external-link btn-link ml-2"
+           aria-hidden="true"
+           onClick={() => window.open('https://docs.growi.org/en/admin-guide/management-cookbook/slack-integration/official-bot-settings.html', '_blank')}></i>
       </h2>
 
       {slackAppIntegrations.length !== 0 && (