From 95ea9d065edbe5bb678c1f58d85b4b0a5e81e8d0 Mon Sep 17 00:00:00 2001 From: Simon Chen <schen@C02QJ0RFG8WM.tld> Date: Thu, 25 Oct 2018 14:53:26 -0400 Subject: [PATCH] Remove the current_grades column that is not supported by backend --- .../common/templates/gradebook/_gradebook_table.underscore | 6 ------ lms/static/js/writable_gradebook.js | 1 - 2 files changed, 7 deletions(-) diff --git a/common/static/common/templates/gradebook/_gradebook_table.underscore b/common/static/common/templates/gradebook/_gradebook_table.underscore index a1246e2dea3..0031b761b8e 100644 --- a/common/static/common/templates/gradebook/_gradebook_table.underscore +++ b/common/static/common/templates/gradebook/_gradebook_table.underscore @@ -34,7 +34,6 @@ </th> <% }) %> - <th title="Current grade"><div class="assignment-label"><%- strLib.userHeading %></div></th> <th title="Total"><div class="assignment-label"><%- strLib.total %></div></th> </tr> </thead> @@ -63,11 +62,6 @@ </td> <% }) %> - <td class="grade_<%- student.current_letter_grade %> data-score-container-class" - title="Current grade"> - <%- (student.current_percent * 100).toFixed(2) %>% - </td> - <td class="grade_<%- student.total_letter_grade %> data-score-container-class" title="Total"> <%- (student.percent * 100).toFixed(2) %>% diff --git a/lms/static/js/writable_gradebook.js b/lms/static/js/writable_gradebook.js index 67c1726d22a..a052e8b552a 100644 --- a/lms/static/js/writable_gradebook.js +++ b/lms/static/js/writable_gradebook.js @@ -235,7 +235,6 @@ $(document).ready(function() { studentsData: studentsData, strLib: { userHeading: gettext('Username'), - currentGrade: gettext('Current grade'), total: gettext('Total') } }).toString(); -- GitLab