stream_settings: Show banner on successful stream creation.

This commit adds banner which is shown on successful stream
creation which contains a link to stream narrow. This banner
makes it more clear that stream was created successfully and
also makes it easy to navigate to the new stream.

Fixes #29171.
This commit is contained in:
Sahil Batra
2024-03-04 20:14:23 +05:30
committed by Tim Abbott
parent 24e5004a54
commit e965ed2eb8
4 changed files with 29 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
{{#> modal_banner }}
<p class="banner_message">
{{#tr}}
Stream <z-link>#{stream_name}</z-link> created!
{{#*inline "z-link"}}<a class="stream_narrow_link" href="{{stream_url}}">{{> @partial-block}}</a>{{/inline}}
{{/tr}}
</p>
{{/modal_banner}}