From 5e7ef1821b6a2c5dfe3d71edb69a4cdf96991bc6 Mon Sep 17 00:00:00 2001 From: william-bratches Date: Sat, 22 Mar 2014 01:47:52 -0400 Subject: [PATCH] Fix for issue 352 - labels now dynamically pluralize. --- karmaworld/assets/js/course-detail.js | 2 +- karmaworld/templates/notes/search_results.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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') { -- 2.25.1