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

Merge pull request #1931 from weseek/imprv/global-notification-tobe-sharp

Imprv/global notification tobe sharp
Yuki Takei 6 лет назад
Родитель
Сommit
d4470ff832

+ 1 - 1
src/client/js/components/Admin/Notification/GlobalNotificationList.jsx

@@ -128,7 +128,7 @@ class GlobalNotificationList extends React.Component {
                 {notification.__t === 'mail'
                   && <span data-toggle="tooltip" data-placement="top" title="Email"><i className="ti-email"></i> {notification.toEmail}</span>}
                 {notification.__t === 'slack'
-                  && <span data-toggle="tooltip" data-placement="top" title="Slack"><i className="fa fa-slack"></i> {notification.slackChannels}</span>}
+                  && <span data-toggle="tooltip" data-placement="top" title="Slack"><i className="fa fa-hashtag"></i> {notification.slackChannels}</span>}
               </td>
               <td className="td-abs-center">
                 <div className="dropdown">

+ 1 - 1
src/client/js/components/Admin/Notification/ManageGlobalNotification.jsx

@@ -193,7 +193,7 @@ class ManageGlobalNotification extends React.Component {
                 <>
                   <div className="input-group notify-to-option" id="slack-input">
                     <div className="input-group-prepend">
-                      <span className="input-group-text" id="slack-channel-addon"><i className="fa fa-slack" /></span>
+                      <span className="input-group-text" id="slack-channel-addon"><i className="fa fa-hashtag" /></span>
                     </div>
                     <input
                       className="form-control"

+ 1 - 1
src/client/js/components/Admin/Notification/UserNotificationRow.jsx

@@ -19,7 +19,7 @@ class UserNotificationRow extends React.PureComponent {
             {notification.pathPattern}
           </td>
           <td className="px-4">
-            <span data-toggle="tooltip" data-placement="top" title="Slack"><i className="fa fa-slack"></i> {notification.channel}</span>
+            <span data-toggle="tooltip" data-placement="top" title="Slack"><i className="fa fa-hashtag"></i> {notification.channel}</span>
           </td>
           <td>
             <button type="submit" className="btn btn-outline-danger" onClick={() => { this.props.onClickDeleteBtn(notification._id) }}>{t('Delete')}</button>

+ 1 - 1
src/client/js/components/Admin/Notification/UserTriggerNotification.jsx

@@ -112,7 +112,7 @@ class UserTriggerNotification extends React.Component {
               <td>
                 <div className="input-group notify-to-option" id="slack-input">
                   <div className="input-group-prepend">
-                    <span className="input-group-text"><i className="fa fa-slack" /></span>
+                    <span className="input-group-text"><i className="fa fa-hashtag" /></span>
                   </div>
                   <input
                     className="form-control form-inline"