User Tools

Site Tools


stats:schema:exercise

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stats:schema:exercise [2011/09/29 10:57]
Patrick Michel
stats:schema:exercise [2011/11/03 12:29]
Patrick Michel
Line 7: Line 7:
 <code xcend> <code xcend>
   element exercises {                  element exercises {               
-    element exercise * id {         ​+    element exercise * id {
       attribute lecture ​            { string }       attribute lecture ​            { string }
       attribute term                { string }       attribute term                { string }
 +      attribute open                { boolean }
    
-      element assistant * account ​  {[ exists //​accounts/​account[./​account] ]} # 2.4+      element assistant * account ​  {[ exists //​accounts/​account[./​account]/​assistant[..exercise/​id] ]}
 </​code>​ </​code>​
  
Line 18: Line 19:
 <code xcend> <code xcend>
       element sheets {              ​       element sheets {              ​
-        element sheet * id {        +        element sheet * id {
           attribute maxPoints ​      { double [ . >= 0 ]}           attribute maxPoints ​      { double [ . >= 0 ]}
         }                                    }                           
Line 66: Line 67:
 Students themselves depend on an account, but nothing depends on them; Their results stand for themselves. As with [[group]], [[student]] are large enough to warrant their own section and associated procedures. Students themselves depend on an account, but nothing depends on them; Their results stand for themselves. As with [[group]], [[student]] are large enough to warrant their own section and associated procedures.
  
-{{page>​stats:​proc:​addStudent&​noheader&​nofooter}}+{{page>​stats:​proc:​registerStudent&​noheader&​nofooter}}
  
-{{page>​stats:​proc:​removeStudent&​noheader&​nofooter}}+{{page>​stats:​proc:​unregisterStudent&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​openSignUp&​noheader&​nofooter}} 
 + 
 +{{page>​stats:​proc:​closeSignUp&​noheader&​nofooter}}
  
stats/schema/exercise.txt · Last modified: 2013/07/10 12:49 (external edit)