From 79bfce98af1663787e0331a0fa57995cc65aae42 Mon Sep 17 00:00:00 2001 From: Paul Holden Date: Tue, 13 Jun 2023 14:52:08 +0100 Subject: [PATCH] MDL-78460 mod_forum: correctly render timed post label information. --- mod/forum/templates/discussion_list.mustache | 2 +- mod/forum/templates/discussion_times.mustache | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/mod/forum/templates/discussion_list.mustache b/mod/forum/templates/discussion_list.mustache index 1c533b7dde5..13e5309dbc9 100644 --- a/mod/forum/templates/discussion_list.mustache +++ b/mod/forum/templates/discussion_list.mustache @@ -222,7 +222,7 @@ diff --git a/mod/forum/templates/discussion_times.mustache b/mod/forum/templates/discussion_times.mustache index e35828d1513..2b0c35723e8 100644 --- a/mod/forum/templates/discussion_times.mustache +++ b/mod/forum/templates/discussion_times.mustache @@ -17,7 +17,8 @@ {{! @template mod_forum/discussion_times - Template to display the discussion times. + Template to display the discussion times. Note that this template is used only as a partial from within discussion_list, which + requires the language strings be passed through the cleanstr helper Classes required for JS: * none @@ -40,20 +41,20 @@