From edc35417d448e3599d45835fc65c6eb715253c39 Mon Sep 17 00:00:00 2001 From: Payten Giles Date: Tue, 23 Jun 2015 15:03:52 +1000 Subject: [PATCH] Fix grade item header text showing 'Assignment title' string instead of the actual assignment name --- .../gradebookng/tool/panels/AssignmentColumnHeaderPanel.html | 2 +- .../gradebookng/tool/panels/AssignmentColumnHeaderPanel.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.html b/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.html index 45e6319ba935..89c4a8751ef2 100644 --- a/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.html +++ b/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.html @@ -6,7 +6,7 @@
- Assignment title +
diff --git a/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.java b/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.java index 4463fcae756b..6f9d7f992ece 100644 --- a/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.java +++ b/tool/src/java/org/sakaiproject/gradebookng/tool/panels/AssignmentColumnHeaderPanel.java @@ -82,6 +82,7 @@ public void onClick() { }; title.add(new AttributeModifier("title", assignment.getName())); + title.add(new Label("label", assignment.getName())); //set the class based on the sortOrder. May not be set for this assignment GradebookPage gradebookPage = (GradebookPage) this.getPage();