Commit de3c1e45 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'slack_app_fixes' into 'master'

Show Slack button when there is no team added

See merge request !2381
parents 5913a7aa 5eba9b88
......@@ -13,5 +13,4 @@
by entering
%kbd.inline /gitlab help
- unless @service.template?
%p To set up this service press "Add to Slack"
= render "projects/services/#{@service.to_param}/slack_integration_form"
= render "projects/services/#{@service.to_param}/slack_button"
- slack_integration = @service.slack_integration
- if slack_integration
%table.table
......@@ -26,3 +25,6 @@
- project = @service.project
= link_to 'Edit', edit_project_settings_slack_path(project), class: 'btn btn-sm'
= link_to 'Remove', project_settings_slack_path(project), method: :delete, class: 'btn btn-danger btn-sm', data: { confirm: 'Are you sure?' }
- else
%p To set up this service press "Add to Slack"
= render "projects/services/#{@service.to_param}/slack_button"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment