2022-07-23 23:45:48 +05:30
|
|
|
- bind_out_tag = content_tag(:span, nil, { data: { bind_out: :create_chat_team } })
|
|
|
|
- checkbox_help_text = "%s %s/%s".html_safe % [_('Mattermost URL:'), Settings.mattermost.host, bind_out_tag]
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
.form-group
|
2019-09-04 21:01:54 +05:30
|
|
|
.col-sm-2.col-form-label
|
|
|
|
= f.label :create_chat_team do
|
2021-02-22 17:27:13 +05:30
|
|
|
%span.gl-display-flex
|
2019-09-04 21:01:54 +05:30
|
|
|
= custom_icon('icon_mattermost')
|
2021-04-29 21:17:54 +05:30
|
|
|
%span.gl-ml-2= _('Mattermost')
|
2021-02-22 17:27:13 +05:30
|
|
|
.col-sm-12
|
2022-07-23 23:45:48 +05:30
|
|
|
= f.gitlab_ui_checkbox_component :create_chat_team, _('Create a Mattermost team for this group'), help_text: checkbox_help_text, checkbox_options: { checked: false }, checked_value: true, unchecked_value: false
|
|
|
|
|