Merge branch 'MDL-64676-master-fix' of https://github.com/snake/moodle
authorSara Arjona <sara@moodle.com>
Fri, 26 Apr 2019 09:50:27 +0000 (11:50 +0200)
committerSara Arjona <sara@moodle.com>
Fri, 26 Apr 2019 09:50:27 +0000 (11:50 +0200)
mod/forum/templates/forum_discussion.mustache

index 0555e76..e660461 100644 (file)
 {{#html}}
     <div class="d-flex flex-wrap flex-row-reverse m-b-1" data-container="discussion-tools" style="text-align: right;">
         {{#capabilities.manage}}
-            {{^timelocked}}
+            {{^istimelocked}}
             <div class="pl-1 discussionlock">
                 {{> forum/discussion_lock_toggle }}
             </div>
-            {{/timelocked}}
+            {{/istimelocked}}
         {{/capabilities.manage}}
         <div class="pl-1">{{{subscribe}}}</div>
     </div>