summaryrefslogtreecommitdiff
path: root/app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
blob: e6fcb09e054389f9fba11b1a7b7d57b768a415ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.services-installation-info
  .row
    %strong.col-sm-3.text-right Status
    .col-sm-9= @service.activated? ? 'Installed' : 'Not installed'
  .row
    %strong.col-sm-3.text-right Mattermost
    = link_to pretty_url(Gitlab.config.mattermost.host), Gitlab.config.mattermost.host, class: 'col-sm-9', target: '__blank'
  - unless @service.activated?
    .row
      %strong.col-sm-3.text-right Installation
      .col-sm-9
          To install this service, press
          %strong Add to Mattermost
          and follow the instructions
    .row
      .col-sm-9.col-sm-offset-3
        = link_to new_namespace_project_mattermost_path(@project.namespace, @project), class: 'btn btn-lg' do
          = custom_icon('mattermost_logo', size: 15)
          = 'Add to Mattermost'