From: william-bratches Date: Sat, 22 Mar 2014 05:47:52 +0000 (-0400) Subject: Fix for issue 352 - labels now dynamically pluralize. X-Git-Tag: release-20150131~144^2~12^2~10 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5e7ef1821b6a2c5dfe3d71edb69a4cdf96991bc6;p=oweals%2Fkarmaworld.git Fix for issue 352 - labels now dynamically pluralize. --- diff --git a/karmaworld/assets/js/course-detail.js b/karmaworld/assets/js/course-detail.js index a20af9e..d50fb2a 100644 --- a/karmaworld/assets/js/course-detail.js +++ b/karmaworld/assets/js/course-detail.js @@ -124,7 +124,7 @@ $(function() { source.count = val; // Store the computed dislay and filter values for efficiency // DIFF: label name change. - source.count_display = val=="" ? "" : ""+val+" "; + source.count_display = val=="" ? "" : ""+val+" Thanks"; return; } else if (type === 'display') { diff --git a/karmaworld/templates/notes/search_results.html b/karmaworld/templates/notes/search_results.html index edd6412..89cf619 100644 --- a/karmaworld/templates/notes/search_results.html +++ b/karmaworld/templates/notes/search_results.html @@ -43,7 +43,7 @@ source.count = val; // Store the computed dislay and filter values for efficiency // DIFF: label name change. - source.count_display = val=="" ? "" : ""+val+" "; + source.count_display = val=="" ? "" : ""+val+" Thanks"; return; } else if (type === 'display') {