Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-06 20:23:06 +0300
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-16 11:19:03 +0300
commit59136d4ab6d13db74018ff301df31e70e45a3c27 (patch)
treef00860022257b30d3a5bd6d8fd9b1a904abe1afa /app/views/groups/new.html.haml
parent3a3d956a8b6d031cc71963b14f5c70f78bef24a4 (diff)
Adds html and css to add mattermost team name to group in new and edit
Diffstat (limited to 'app/views/groups/new.html.haml')
-rw-r--r--app/views/groups/new.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml
index 29b5d2ab032..3cc4f6d6e48 100644
--- a/app/views/groups/new.html.haml
+++ b/app/views/groups/new.html.haml
@@ -27,6 +27,12 @@
= f.check_box :chat_team
Link the group to a new or existing Mattermost team
+- enabled = Gitlab.config.mattermost.enabled
+- if enabled
+ .form-group
+ .col-sm-offset-2.col-sm-10
+ = f.text_field :name, placeholder: 'Mattermost team name', class: 'form-control mattermost-team-name'
+
.form-group
.col-sm-offset-2.col-sm-10
= render 'shared/group_tips'