Skip to content

Commit

Permalink
stream_creation_form: Add UI for creating support type streams.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchi-t committed May 14, 2024
1 parent 9e66805 commit 84e21f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/templates/stream_settings/stream_creation_form.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
{{> stream_types
stream_post_policy=stream_post_policy_values.everyone.code
is_stream_edit=false
can_remove_subscribers_setting_widget_name="new_stream_can_remove_subscribers_group" }}
can_remove_subscribers_setting_widget_name="new_stream_can_remove_subscribers_group"
stream_topic_access_setting_widget_name="new_stream_stream_topic_access_group" }}
</div>
</section>
<section class="block">
Expand Down
5 changes: 5 additions & 0 deletions web/templates/stream_settings/stream_types.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
label=(t 'Who can unsubscribe others from this channel?')
value_type="number"}}

{{> ../dropdown_widget_with_label
widget_name=stream_topic_access_setting_widget_name
label=(t 'Who can see all the topics?')
value_type="number"}}

{{#if (or is_owner is_stream_edit)}}
<div>
<div class="input-group inline-block message-retention-setting-group time-limit-setting">
Expand Down

0 comments on commit 84e21f0

Please sign in to comment.