From c115b6d6998174ddb214023e584cc4f2026f30d2 Mon Sep 17 00:00:00 2001 From: Laurent David Date: Mon, 8 Jul 2024 12:42:07 +0200 Subject: [PATCH] MDL-82319 core_courseformat: Remove redundant lock icon in section --- .../templates/local/content/section/content.mustache | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/course/format/templates/local/content/section/content.mustache b/course/format/templates/local/content/section/content.mustache index d0bc3553a00..d4db117e78e 100644 --- a/course/format/templates/local/content/section/content.mustache +++ b/course/format/templates/local/content/section/content.mustache @@ -100,11 +100,13 @@ {{> core_courseformat/local/content/section/header }} {{/ core_courseformat/local/content/section/header }} {{/header}} - {{#restrictionlock}} -
- {{#pix}}t/unlock, core{{/pix}} -
- {{/restrictionlock}} + {{^singleheader}} + {{#restrictionlock}} +
+ {{#pix}}t/unlock, core{{/pix}} +
+ {{/restrictionlock}} + {{/singleheader}}
{{$ core_courseformat/local/content/section/badges }} {{> core_courseformat/local/content/section/badges }}