From 09688f03e166e3ea54b512c57f38eb9f9fef8d27 Mon Sep 17 00:00:00 2001 From: Thorsten Eckel Date: Tue, 1 Dec 2020 12:12:54 +0100 Subject: [PATCH] Fixes #878 - Added remark for Mattermost and RocketChat support. --- .../javascripts/app/controllers/_integration/slack.coffee | 3 ++- app/assets/javascripts/app/views/integration/index.jst.eco | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/app/controllers/_integration/slack.coffee b/app/assets/javascripts/app/controllers/_integration/slack.coffee index 32458e2d9..9ab9476b5 100644 --- a/app/assets/javascripts/app/controllers/_integration/slack.coffee +++ b/app/assets/javascripts/app/controllers/_integration/slack.coffee @@ -83,7 +83,8 @@ App.Config.set( { name: 'Slack' target: '#system/integration/slack' - description: 'A team communication tool for the 21st century.' + description: 'A team communication tool for the 21st century. Compatible with tools like %s.' + descriptionSubstitute: 'Mattermost, RocketChat' controller: Index state: State } diff --git a/app/assets/javascripts/app/views/integration/index.jst.eco b/app/assets/javascripts/app/views/integration/index.jst.eco index 9932de977..398c7801d 100644 --- a/app/assets/javascripts/app/views/integration/index.jst.eco +++ b/app/assets/javascripts/app/views/integration/index.jst.eco @@ -21,7 +21,7 @@ <% end %> <%= integration.name %> - <%- @T(integration.description) %> + <%- @T(integration.description, integration.descriptionSubstitute) %> <% end %>