gnowledge/gstudio — pull request #959 by makfire (2014-12-28 10:42:12+00:00)
Title: Split session implementation

These Bugs are Removed out of th reported ones

When split session gets enabled (based on condition that you said) and you select either 2 or 3, it resets very first start_time & end_time to null (don't reset to null keep previous selected value)(Done)

Whether it is only assessment
On download, file doesn't contains column for assessment marks (Done)

When it is only assignment
On download, file column for marks has heading as "Attendance_marks", it should be "Assignment Marks" (Done)

When both assignment and assessment are there
On download, file column for marks has heading as "Attendance_marks" & "Assessment_marks" for Assignment and Assessment respectively (Done)

Columns listed under Attendance tab shows proper attendance values (it seems values are getting saved properly); but when it comes to downloaded csv following has been noticed:
Attendance column shows True value even if the corresponding student is absent for that session (i.e. checkbox is unchecked at time of taking attendance) (Done)

While creating a given session, if you refresh page reset following:(Done)
Course type to 0th index element (Currently it holds previous selected value)
Reset very first start time & end time to empty
Reset split session to unchecked & disable it (if selected before refreshing given page)
Available session minutes value (it might get automatically reset if you reset start time & end time specified above)

Bugs which are not solved because of clarification required or same bug is not replicated on my local system
clarification of the logic for following bug
If you set a classroom session for a given batch then next time that combination shouldn't come for selection
For example: If you set an event for YLPS-Batch-1, Module-1--Session-3; then next time when you select Module-1, Session-3 then YLPS-Batch1 should not be listed in batch's drop-down

Please add event details which is required (i.e., Course name, batch name, voluntary teacher name, event duration, etc) on downloaded csv.

Bugs which are not replicated on the locals
While editing, if you have set marks and click on "Print" button following things happen:
Checkbox gets (only for currently checked) unchecked
Marks gets reset to 0
Marks input is enabled even after it's corresponding checkbox getting unchecked

Button labels of Save, Print & Download gets enabled for editing (if you go by tabbing using keyboard).