settings: Update topic notifications help center links.

- Updates the `?` link on "Topic notifications" and "Topic settings"
  to go to the new /help/topic-notifications page.
- Adds links to /help/follow-a-topic and /help/mute-a-topic.

Fixes #27297.
This commit is contained in:
David Rosa 2023-10-23 14:59:44 -07:00 committed by Tim Abbott
parent ccf1dbfacd
commit 56ccaa571e
2 changed files with 10 additions and 4 deletions

View File

@ -51,10 +51,16 @@
<div class="subsection-header inline-block">
<h3>{{t "Topic notifications" }}
{{> ../help_link_widget link="/help/mute-a-topic" }}
{{> ../help_link_widget link="/help/topic-notifications" }}
</h3>
{{> settings_save_discard_widget section_name="topic-notifications-settings" show_only_indicator=(not for_realm_settings) }}
<p>{{t "You will automatically follow topics that you have configured to both follow and unmute." }}</p>
<p>
{{#tr}}
You will automatically follow topics that you have configured to both <z-follow>follow</z-follow> and <z-unmute>unmute</z-unmute>.
{{#*inline "z-follow"}}<a href="/help/follow-a-topic" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{#*inline "z-unmute"}}<a href="/help/mute-a-topic" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}}
</p>
</div>
<div class="input-group">

View File

@ -10,14 +10,14 @@
Zulip lets you mute topics and streams to avoid receiving notifications messages you are not interested in.
Muting a stream effectively mutes all topics in that stream. You can also manually mute a topic in an unmuted stream,
or unmute a topic in a muted stream. <z-link>Learn more.</z-link>
{{#*inline "z-link"}}<a href="/help/mute-a-topic" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{#*inline "z-link"}}<a href="/help/topic-notifications" target="_blank" rel="noopener noreferrer">{{> @partial-block}}</a>{{/inline}}
{{/tr}}
{{/if}}
</p>
<div class="settings_panel_list_header">
{{#if development}}
<h3>{{t "Topic settings"}}
{{> ../help_link_widget link="/help/mute-a-topic" }}
{{> ../help_link_widget link="/help/topic-notifications" }}
</h3>
{{else}}
<h3>{{t "Topic settings"}}</h3>