gnowledge/gstudio — pull request #957 by makfire (2014-12-26 11:08:01+00:00)
Title: Split session implementation

This merge Contains
:- Implementation of Assessment and Assignment marks
:- Split Session
:- Search view implementation (merged accidentally)
create schema is required for below functionality to work
As Search Views are also merged in this commit as this branch was created from mongokit.
Search views are working correctly from my side as reported by kedar private resources are are visible to anonymous users, i've checked it private resources are not visible to the anonymous users
please confirm this from your side also

Implementation of Assessment and Assignment marks
if a session is selected to be Assessment or assignment session a column would appear for entering their marks
if both are not selected nothing would appear only attendance taking capacity would be available
On click of particular Attendance check box their respective marks field opens

Split session :-
after selecting a session, minutes provided for session is visible
if a session is allocated perfectly to its total time the available minute would show zero
and submit would be allowed
selecting more than alloted session time would show a negative time and alert to select the proper time for the session

if all the session time is completed in one session allocation the split session would be disabled
the split session checkbox would only be enabled when their is remaining time in hand

even if split session is selected and the entire time is finished in one go the split session section would disappear
while allocating session time for different sessions ,suppose if the second session is scheduled more than the remaining time and a negative value is shown in the available minute , in this case we donot have to restart from the top to reschedule from the first date, it would require just to schedule according to the remaining time and the rest would be calculated automatically.
until the available session time is 0 submit is not allowed