Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
f7b7e918
Commit
f7b7e918
authored
Dec 20, 2016
by
Kamil Trzcinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove rest of the form parameters as we can't really support them
parent
841960f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
14 deletions
+5
-14
app/views/projects/services/mattermost_slash_commands/_help.html.haml
...ojects/services/mattermost_slash_commands/_help.html.haml
+5
-2
app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
...es/mattermost_slash_commands/_installation_info.html.haml
+0
-12
No files found.
app/views/projects/services/mattermost_slash_commands/_help.html.haml
View file @
f7b7e918
...
...
@@ -7,6 +7,9 @@
See list of available commands in Mattermost after setting up this service,
by entering
%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
app/views/projects/services/mattermost_slash_commands/_installation_info.html.haml
View file @
f7b7e918
.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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment