Commit f7b7e918 authored by Kamil Trzcinski's avatar Kamil Trzcinski

Remove rest of the form parameters as we can't really support them

parent 841960f8
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
See list of available commands in Mattermost after setting up this service, See list of available commands in Mattermost after setting up this service,
by entering by entering
%code /<command_trigger_word> help %code /<command_trigger_word> help
= render 'projects/services/mattermost_slash_commands/detailed_help', subject: @service unless enabled
= render 'projects/services/mattermost_slash_commands/installation_info' if enabled - unless enabled
= render 'projects/services/mattermost_slash_commands/detailed_help', subject: @service
- if enabled
= render 'projects/services/mattermost_slash_commands/installation_info', subject: @service
.services-installation-info .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? - 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 .row
.col-sm-9.col-sm-offset-3 .col-sm-9.col-sm-offset-3
= link_to new_namespace_project_mattermost_path(@project.namespace, @project), class: 'btn btn-lg' do = link_to new_namespace_project_mattermost_path(@project.namespace, @project), class: 'btn btn-lg' do
......
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