summaryrefslogtreecommitdiff
path: root/app/views/projects/services/mattermost_slash_commands/_help.html.haml
blob: a04fd5035a6fb3660ef423f2b16a0e6b46dff554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- enabled = Gitlab.config.mattermost.enabled

.well
  %p
    This service allows users to perform common operations on this
    project by entering slash commands in Mattermost.
    = link_to help_page_path('user/project/integrations/mattermost_slash_commands.md'), target: '_blank', ref: 'noreferrer nofollow noopener' do
      View documentation
      = icon('external-link')
  %p.inline
    See list of available commands in Mattermost after setting up this service,
    by entering
  %kbd.inline /<trigger> help
  - unless enabled || @service.template?
    = render 'projects/services/mattermost_slash_commands/detailed_help', subject: @service

- if enabled && !@service.template?
  = render 'projects/services/mattermost_slash_commands/installation_info', subject: @service