retention: Add link to message-retention-policy docs next to the heading.

This commit adds link to the message-retention-policy docs next to the
heading for both realm-level and stream-level settings.
This commit is contained in:
sahil839 2020-06-27 01:40:22 +05:30 committed by Tim Abbott
parent c650f3af47
commit 544760daa7
2 changed files with 6 additions and 2 deletions

View File

@ -142,7 +142,9 @@
<div id="org-message-retention" class="org-subsection-parent">
<div class="subsection-header">
<h3>{{t "Message retention" }}</h3>
<h3>{{t "Message retention" }}
{{> ../help_link_widget link="/help/message-retention-policy" }}
</h3>
{{> settings_save_discard_widget section_name="message-retention" }}
</div>

View File

@ -32,7 +32,9 @@
</li>
{{/each}}
{{#if (or is_owner is_stream_edit)}}
<h4>{{t "Message retention for stream" }}</h4>
<h4>{{t "Message retention for stream" }}
{{> help_link_widget link="/help/message-retention-policy" }}
</h4>
{{> settings/upgrade_tip_widget}}