2017-11-13 05:20:42 +01:00
|
|
|
<div id="user-groups-admin" class="settings-section" data-name="user-groups-admin">
|
2018-02-19 13:35:18 +01:00
|
|
|
{{#unless is_admin}}
|
|
|
|
<div class="tip">Only group members and organization administrators can modify a group.</div>
|
|
|
|
{{/unless}}
|
2018-06-14 08:35:05 +02:00
|
|
|
{{#unless is_guest}}
|
2017-11-17 04:31:37 +01:00
|
|
|
<form class="form-horizontal admin-user-group-form">
|
|
|
|
<div class="add-new-user-group-box grey-box">
|
|
|
|
<div class="new-user-group-form">
|
|
|
|
<div class="settings-section-title new-user-group-section-title no-padding">{{t "Add a new user group" }}</div>
|
|
|
|
<div class="alert" id="admin-user-group-status"></div>
|
|
|
|
<div class="inline-block">
|
|
|
|
<label for="user_group_name">{{t "Name" }}</label>
|
2018-03-02 18:28:57 +01:00
|
|
|
<input type="text" name="name" id="user_group_name" maxlength="100" placeholder="{{t 'marketing' }}" />
|
2017-11-17 04:31:37 +01:00
|
|
|
</div>
|
|
|
|
<div class="inline-block">
|
|
|
|
<label for="user_group_description">{{t "Description" }}</label>
|
2018-03-01 20:28:24 +01:00
|
|
|
<input type="text" name="description" id="user_group_description" maxlength="300" placeholder="{{t 'Marketing team' }}" />
|
2017-11-17 04:31:37 +01:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="button rounded sea-green">
|
|
|
|
{{t 'Submit' }}
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2018-06-14 08:35:05 +02:00
|
|
|
{{/unless}}
|
2017-11-17 04:31:37 +01:00
|
|
|
|
|
|
|
<p>{{#tr this}}Add members of your organization to mentionable user groups.{{/tr}}</p>
|
2018-08-22 00:31:48 +02:00
|
|
|
<div id="user-groups" class="new-style"></div>
|
2017-11-13 05:20:42 +01:00
|
|
|
</div>
|