zulip/static/templates/user-groups-admin.handlebars

26 lines
1.3 KiB
Handlebars
Raw Normal View History

<div id="user-groups-admin" class="settings-section" data-name="user-groups-admin">
<div class="tip">Anyone in this organization can add user groups.</div>
<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>
<input type="text" name="name" id="user_group_name" maxlength="100" placeholder="marketing" />
</div>
<div class="inline-block">
<label for="user_group_description">{{t "Description" }}</label>
<input type="text" name="description" id="user_group_description" maxlength="300" placeholder="{{t 'Marketing team' }}" />
</div>
<button type="submit" class="button rounded sea-green">
{{t 'Submit' }}
</button>
</div>
</div>
</form>
<p>{{#tr this}}Add members of your organization to mentionable user groups.{{/tr}}</p>
<div id="user-groups"></div>
</div>