mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
when configured by the admin a group can be found through the @mentions feature in both the compose/reply and the private message user-selectors and once selected the mention will be replaced by the list of users in the group
24 lines
790 B
Handlebars
24 lines
790 B
Handlebars
<div class="modal-body">
|
||
{{#if error}}
|
||
<div class="alert alert-error">
|
||
<button class="close" data-dismiss="alert">×</button>
|
||
{{i18n topic.invite_private.error}}
|
||
</div>
|
||
{{/if}}
|
||
|
||
{{#if finished}}
|
||
{{i18n topic.invite_private.success}}
|
||
{{else}}
|
||
<label>{{i18n topic.invite_private.email_or_username}}</label>
|
||
{{userSelector single=true allowAny=true usernames=emailOrUsername include_groups="true" placeholderKey="topic.invite_private.email_or_username_placeholder"}}
|
||
{{/if}}
|
||
</div>
|
||
<div class="modal-footer">
|
||
{{#if finished}}
|
||
<button class='btn btn-primary' {{action closeModal}}>{{i18n close}}</button>
|
||
{{else}}
|
||
<button class='btn btn-primary' {{bindAttr disabled="disabled"}} {{action invite}}>{{buttonTitle}}</button>
|
||
{{/if}}
|
||
|
||
</div>
|