mirror of
https://github.com/zulip/zulip.git
synced 2026-07-15 21:03:26 +08:00
This adds a support a notification at the top of the screen that alerts a user they’ve muted a stream and gives them the option to unmute if it was an accident. The notification disappears automatically after 4s, but if a user moves their mouse over the notification, the timer resets to 2s after the user moves their mouse off the notification, to make it easy for users to read the full message and decide what to do.
10 lines
506 B
HTML
10 lines
506 B
HTML
<div id="unmute_muted_topic_notification">
|
|
<div class="float-header">
|
|
<h3 class="light no-margin small-line-height float-left">Topic Muted</h3>
|
|
<div class="exit-me float-right">×</div>
|
|
<button class="btn border-radius float-right" id="unmute" type="button" name="button">Unmute</button>
|
|
<div class="float-clear"></div>
|
|
</div>
|
|
<p class="n-margin">You have muted the topic <span class="topic"></span> under the <span class="stream"></span> stream.</p>
|
|
</div>
|