mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
Fixes #10124. Users in the waiting period category cannot subscribe other users to a stream. When a user tries to mention another unsubscribed user, a warning message appears with a subscribe button on it to subscribe the other user. This commit removes the subscribe button and changes the warning text for users in the waiting period category.
11 lines
631 B
Handlebars
11 lines
631 B
Handlebars
<div class="compose_invite_user" data-useremail="{{email}}">
|
|
{{#if can_subscribe_other_users}}
|
|
<p>{{#tr this}}<strong>__name__</strong> is not subscribed to this stream. They will not be notified unless you subscribe them.{{/tr}}</p>
|
|
<div class="compose_invite_user_controls">
|
|
<button class="btn btn-warning compose_invite_link" >{{t "Subscribe" }}</button><button type="button" class="compose_invite_close close">×</button>
|
|
</div>
|
|
{{else}}
|
|
<p>{{#tr this}}<strong>__name__</strong> is not subscribed to this stream. They will not be notified if you mention them.{{/tr}}</p>
|
|
{{/if}}
|
|
</div>
|