Commit a10dadd5 by arjun810

Merge pull request #739 from MITx/feature/ibrahim/unread_count

Properly puluralize comments tooltip and change "unread" to "new".
parents df1b9986 60730674
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
<a href="${'<%- id %>'}" data-id="${'<%- id %>'}"> <a href="${'<%- id %>'}" data-id="${'<%- id %>'}">
<span class="title">${"<%- title %>"}</span> <span class="title">${"<%- title %>"}</span>
${"<% if (unread_comments_count > 0) { %>"} ${"<% if (unread_comments_count > 0) { %>"}
<span class="comments-count unread" data-tooltip="${"<%- unread_comments_count %>"} unread comments">${"<%- comments_count %>"}</span> <span class="comments-count unread" data-tooltip="${"<%- unread_comments_count %>"} new comment${"<%- unread_comments_count > 1 ? 's' : '' %>"}">${"<%- comments_count %>"}</span>
${"<% } else { %>"} ${"<% } else { %>"}
<span class="comments-count">${"<%- comments_count %>"}</span> <span class="comments-count">${"<%- comments_count %>"}</span>
${"<% } %>"} ${"<% } %>"}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment