diff --git a/blocks/myoverview/templates/course-event-list-item.mustache b/blocks/myoverview/templates/course-event-list-item.mustache index dc6bde495ef..b48f82698d3 100644 --- a/blocks/myoverview/templates/course-event-list-item.mustache +++ b/blocks/myoverview/templates/course-event-list-item.mustache @@ -28,7 +28,8 @@ "action": { "name": "Submit assignment", "url": "https://www.google.com", - "itemcount": 1 + "itemcount": 1, + "showitemcount": true }, "icon": { "key": "icon", @@ -54,7 +55,9 @@ {{#action.actionable}} <a href="{{{action.url}}}">{{action.name}}</a> {{#action.itemcount}} - <span class="tag tag-pill tag-default">{{.}}</span> + {{#action.showitemcount}} + <span class="tag tag-pill tag-default">{{.}}</span> + {{/action.showitemcount}} {{/action.itemcount}} {{/action.actionable}} {{^action.actionable}} diff --git a/blocks/myoverview/templates/event-list-item.mustache b/blocks/myoverview/templates/event-list-item.mustache index 271e7b20d0a..ddce069279b 100644 --- a/blocks/myoverview/templates/event-list-item.mustache +++ b/blocks/myoverview/templates/event-list-item.mustache @@ -30,7 +30,8 @@ "action": { "name": "Submit assignment", "url": "https://www.google.com", - "itemcount": 1 + "itemcount": 1, + "showitemcount": true }, "icon": { "key": "icon", @@ -59,7 +60,9 @@ {{#action.actionable}} <a href="{{{action.url}}}">{{action.name}}</a> {{#action.itemcount}} - <span class="tag tag-pill tag-default">{{.}}</span> + {{#action.showitemcount}} + <span class="tag tag-pill tag-default">{{.}}</span> + {{/action.showitemcount}} {{/action.itemcount}} {{/action.actionable}} {{^action.actionable}}