From 278211cd84a7189ad53390bc16e4771685ae2b3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stas=20SU=C8=98COV?= Date: Wed, 1 Feb 2012 17:49:29 +0200 Subject: [PATCH] Public comments are now visible in assignment pages. Related #72 --- gradebook/gradebook.class.php | 4 ++-- groups/templates/single_assignment.php | 30 ++++++++++++++++---------- 2 files changed, 21 insertions(+), 13 deletions(-) diff --git a/gradebook/gradebook.class.php b/gradebook/gradebook.class.php index 1ccf056..e388caf 100644 --- a/gradebook/gradebook.class.php +++ b/gradebook/gradebook.class.php @@ -267,9 +267,9 @@ function load_grades( $gradebook_id, $parse = false ) { } /** - * load_grades_by_user_id( $assignment, $user_id ) + * load_grade_by_user_id( $assignment, $user_id ) * - * Loads all the grades for a given assignment by user id + * Loads all the grade for a given assignment by user id * * @param Int $assignment the ID of the assignment gradeboodk to load * @param Int $user_id, the id of the user diff --git a/groups/templates/single_assignment.php b/groups/templates/single_assignment.php index 5f4e6dd..b96940d 100644 --- a/groups/templates/single_assignment.php +++ b/groups/templates/single_assignment.php @@ -10,16 +10,24 @@ -
  • - - - - % - - - - -
  • +
  • + + + + % + + + + +
  • + +
  • + + + + +
  • +
  • \ No newline at end of file +?>