stream settings: Move stream_types.hbs to stream_settings folder.

This commit is contained in:
m-e-l-u-h-a-n 2021-07-19 09:44:30 +05:30 committed by Tim Abbott
parent 0594207180
commit cf0f74c7ce
3 changed files with 6 additions and 6 deletions

View File

@ -30,7 +30,7 @@
{{/tr}}
</div>
{{> stream_types
{{> stream_settings/stream_types
stream_privacy_policy=stream_privacy_policy_values.public.code
stream_post_policy=stream_post_policy_values.everyone.code
is_stream_edit=false }}

View File

@ -4,7 +4,7 @@
<h3 id="stream_privacy_modal_label">{{#tr}}Change stream permissions for #{stream_name}{{/tr}}<span class="email"></span></h3>
</div>
<div class="modal-body">
{{> ../stream_types }}
{{> stream_types }}
</div>
<div class="modal-footer">
<button class="button rounded close-modal-btn" data-dismiss="modal">{{t "Cancel" }}</button>

View File

@ -2,7 +2,7 @@
<div class="input-group">
<div class="alert stream-privacy-status"></div>
<h4>{{t 'Who can access the stream?'}}
{{> help_link_widget link="/help/stream-permissions" }}
{{> ../help_link_widget link="/help/stream-permissions" }}
</h4>
{{#each stream_privacy_policy_values}}
<div class="radio-input-parent">
@ -16,7 +16,7 @@
<div class="input-group">
<h4>{{t 'Who can post to the stream?'}}
{{> help_link_widget link="/help/stream-sending-policy" }}
{{> ../help_link_widget link="/help/stream-sending-policy" }}
</h4>
{{#each stream_post_policy_values}}
<div class="radio-input-parent">
@ -31,10 +31,10 @@
{{#if (or is_owner is_stream_edit)}}
<div>
<h4>{{t "Message retention for stream" }}
{{> help_link_widget link="/help/message-retention-policy" }}
{{> ../help_link_widget link="/help/message-retention-policy" }}
</h4>
{{> settings/upgrade_tip_widget}}
{{> ../settings/upgrade_tip_widget}}
<div class="input-group inline-block message-retention-setting-group">
<div class="dropdown-title">{{t "Message retention period" }}