From 4d78374b07f11f501f6ca09fe179374d70ab7fa3 Mon Sep 17 00:00:00 2001 From: Kevin Chugh Date: Tue, 24 Sep 2013 11:16:57 -0400 Subject: [PATCH] add unread comments count to sr block so user can hear unread comment count --- lms/templates/discussion/_underscore_templates.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/templates/discussion/_underscore_templates.html b/lms/templates/discussion/_underscore_templates.html index a1de39c839..24215da5a7 100644 --- a/lms/templates/discussion/_underscore_templates.html +++ b/lms/templates/discussion/_underscore_templates.html @@ -165,7 +165,7 @@ ${"<%- title %>"} ${"<% if (unread_comments_count > 0) { %>"} - "} new comment${"<%- unread_comments_count > 1 ? 's' : '' %>"}">${"<%- comments_count %>"} comments + "} new comment${"<%- unread_comments_count > 1 ? 's' : '' %>"}">${"<%- comments_count %>"} comments (${"<%- unread_comments_count %>"} unread comments) ${"<% } else { %>"} ${"<%- comments_count %>"}comments ${"<% } %>"}