From 544760daa7119156516179ea4a30422230a6cf34 Mon Sep 17 00:00:00 2001 From: sahil839 Date: Sat, 27 Jun 2020 01:40:22 +0530 Subject: [PATCH] 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. --- static/templates/settings/organization_settings_admin.hbs | 4 +++- static/templates/stream_types.hbs | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/static/templates/settings/organization_settings_admin.hbs b/static/templates/settings/organization_settings_admin.hbs index c68403d358..f98f109eff 100644 --- a/static/templates/settings/organization_settings_admin.hbs +++ b/static/templates/settings/organization_settings_admin.hbs @@ -142,7 +142,9 @@
-

{{t "Message retention" }}

+

{{t "Message retention" }} + {{> ../help_link_widget link="/help/message-retention-policy" }} +

{{> settings_save_discard_widget section_name="message-retention" }}
diff --git a/static/templates/stream_types.hbs b/static/templates/stream_types.hbs index 7c7162fa76..bde4669fba 100644 --- a/static/templates/stream_types.hbs +++ b/static/templates/stream_types.hbs @@ -32,7 +32,9 @@ {{/each}} {{#if (or is_owner is_stream_edit)}} -

{{t "Message retention for stream" }}

+

{{t "Message retention for stream" }} + {{> help_link_widget link="/help/message-retention-policy" }} +

{{> settings/upgrade_tip_widget}}