2017-02-24 00:46:42 +01:00
|
|
|
|
<div id="stream_privacy_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="stream_privacy_modal_label" aria-hidden="true">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close close-privacy-modal" aria-hidden="true">×</button>
|
2017-02-26 03:33:21 +01:00
|
|
|
|
<h3 id="stream_privacy_modal_label">{{t "Change stream privacy" }} <span class="email"></span></h3>
|
2017-02-24 00:46:42 +01:00
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
{{#if is_private}}
|
|
|
|
|
{{#tr this}}
|
2017-06-08 07:09:56 +02:00
|
|
|
|
This stream is currently <span class="fa fa-lock" aria-hidden="true"></span> <b>an invite-only stream</b>
|
2017-02-24 00:46:42 +01:00
|
|
|
|
which means only invited members can join and access its content. Making it public will make
|
|
|
|
|
it possible for anyone in your organization to join and access it.
|
|
|
|
|
{{/tr}}
|
|
|
|
|
{{else}}
|
|
|
|
|
{{#tr this}}
|
2017-06-08 07:09:56 +02:00
|
|
|
|
This stream is currently <span class="fa fa-globe" aria-hidden="true"></span> <b>a public stream</b>
|
2017-02-24 00:46:42 +01:00
|
|
|
|
which means anyone in the organization can join it. Making it private will mean that
|
|
|
|
|
only the invited members can join and access its content. Members of the stream can
|
|
|
|
|
invite others.
|
|
|
|
|
{{/tr}}
|
|
|
|
|
{{/if}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button class="btn btn-default close-privacy-modal" aria-hidden="true">{{t "Cancel" }}</button>
|
|
|
|
|
<button class="btn{{#if is_private}} btn-primary{{else}} btn-danger{{/if}}" id="change-stream-privacy-button"
|
2017-03-06 18:17:11 +01:00
|
|
|
|
tabindex="-1" data-stream-id="{{stream_id}}">
|
2017-02-24 00:46:42 +01:00
|
|
|
|
{{#if is_private}}
|
2017-03-06 18:17:11 +01:00
|
|
|
|
{{t "Make stream public"}}
|
2017-02-24 00:46:42 +01:00
|
|
|
|
{{else}}
|
2017-03-06 18:17:11 +01:00
|
|
|
|
{{t "Make stream invite-only"}}
|
2017-02-24 00:46:42 +01:00
|
|
|
|
{{/if}}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|