diff --git a/templates/local/content/section.mustache b/templates/local/content/section.mustache index 6269b46..e488e19 100644 --- a/templates/local/content/section.mustache +++ b/templates/local/content/section.mustache @@ -105,11 +105,6 @@ data-id="{{id}}" data-number="{{num}}" > - {{#restrictionlock}} -
- {{#pix}}t/unlock, core{{/pix}} -
- {{/restrictionlock}}
{{$ core_courseformat/local/content/section/badges }} {{> core_courseformat/local/content/section/badges }} diff --git a/templates/local/content/section/content.mustache b/templates/local/content/section/content.mustache index 14297db..25f93eb 100644 --- a/templates/local/content/section/content.mustache +++ b/templates/local/content/section/content.mustache @@ -85,11 +85,6 @@ "highlightedlabel" : "Highlighted" } }} -{{#restrictionlock}} -
- {{#pix}}t/unlock, core{{/pix}} -
-{{/restrictionlock}} {{#collapsemenu}} {{^displayonesection}}
@@ -117,9 +112,9 @@ {{/ core_courseformat/local/content/section/summary }} {{/summary}} {{#availability}} - {{$ format_onetopic/courseformat/content/cm/availabilityinline }} - {{> format_onetopic/courseformat/content/cm/availabilityinline }} - {{/ format_onetopic/courseformat/content/cm/availabilityinline }} + {{$ core_courseformat/local/content/section/availability }} + {{> core_courseformat/local/content/section/availability }} + {{/ core_courseformat/local/content/section/availability }} {{/availability}}
{{#cmsummary}}