-
Committer:
Matt Giuca
-
Date:
2009-04-24 13:44:39 UTC
-
mto:
This revision was merged to the branch mainline in
revision
1196.
-
Revision ID:
matt.giuca@gmail.com-20090424134439-pwgr5gjluocs7l84
ivle.worksheet.utils: Added calculate_mark, which is from the duplicated code
in both bin/ivle-marks and ivle.webapp.tutorial.OfferingView.populate.
This calculates a user's final mark for a subject.
ivle-marks, ivle.webapp.tutorial: Call ivle.worksheet.utils.calculate_mark
instead of manually calculating (avoid code duplication).