aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-03-29 16:20:53 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2014-03-29 16:20:53 -0400
commitd49e39a116097ae98b1a6f55f5d139a4d1836af3 (patch)
tree9a37893a1913b8f41b5595037729b739996266a0 /GradeBook_lib.tcl
parent40d80bd1ebbb6d7bee81387523e28511bfb56150 (diff)
downloadGradeBook-d49e39a116097ae98b1a6f55f5d139a4d1836af3.tar.gz
GradeBook-d49e39a116097ae98b1a6f55f5d139a4d1836af3.zip
special treatment of html out for some info in weighted column
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl3
1 files changed, 2 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 3146a77..f2508c7 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1034,7 +1034,8 @@ proc htmlFormatColVal { col_value columnname user user_shown permission_list {fo
}
set category [SelectColValue4User $columnname _Col_Category_]
set max_points [SelectColValue4User $columnname _Max_Points_]
- if { ([SelectColValue4User GroupName $user_shown] ne "inforow") && ($category eq "weighted_column") && ($max_points != 0) } {
+ set special_user_names [list _Max_Points_ _The_Highest_Grade_ _The_Lowest_Grade_]
+ if { (([SelectColValue4User GroupName $user_shown] ne "inforow") || ($user in $special_user_names)) && ($category eq "weighted_column") && ($max_points != 0) } {
if { $col_value eq "" } {
set col_value 0
}