Changeset 6802 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 20 Sep 2011, 06:37:25 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6800 r6802 661 661 course = data['course'] 662 662 ticket.core_or_elective = data['core_or_elective'] 663 ticket. level = self.context.level663 ticket.automatic = False 664 664 ticket.code = course.code 665 665 ticket.title = course.title -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelmanagepage.pt
r6795 r6802 62 62 <tr> 63 63 <th> </th> 64 <th>Level</th> 65 <th>Course Code</th> 66 <th>Course Title</th> 64 <th>Code</th> 65 <th>Title</th> 67 66 <th>Department</th> 68 67 <th>Faculty</th> … … 70 69 <th>Mandatory</th> 71 70 <th>Score</th> 71 <th>Automatic</th> 72 72 </tr> 73 73 </thead> … … 78 78 tal:attributes="value value/__name__" /> 79 79 </td> 80 <td tal:content="value/level">LEVEL</td>81 80 <td> <a tal:attributes="href value/__name__"> 82 81 <span tal:content="value/code">CODE</span> … … 88 87 <td tal:content="value/core_or_elective">MANDATORY</td> 89 88 <td tal:content="value/score">SCORE</td> 89 <td tal:content="value/automatic">AUTOMATIC</td> 90 90 </tr> 91 91 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelpage.pt
r6783 r6802 28 28 <thead> 29 29 <tr> 30 <th>Level</th> 31 <th>Course Code</th> 32 <th>Course Title</th> 30 <th>Code</th> 31 <th>Title</th> 33 32 <th>Department</th> 34 33 <th>Faculty</th> … … 36 35 <th>Mandatory</th> 37 36 <th>Score</th> 37 <th>Automatic</th> 38 38 </tr> 39 39 </thead> 40 40 <tbody> 41 41 <tr tal:repeat="value context/values"> 42 <td tal:content="value/level">LEVEL</td>43 42 <td> <a tal:attributes="href value/__name__"> 44 43 <span tal:content="value/code">CODE</span> … … 50 49 <td tal:content="value/core_or_elective">MANDATORY</td> 51 50 <td tal:content="value/score">SCORE</td> 52 51 <td tal:content="value/automatic">AUTOMATIC</td> 53 52 </tr> 54 53 </tbody> -
main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py
r6795 r6802 238 238 faculty = Attribute('faculty of the original course') 239 239 department = Attribute('department of the original course') 240 level = Attribute('level of the original course referrer')240 automatic = Attribute('automatical creation of ticket') 241 241 242 242 core_or_elective = schema.Bool( … … 254 254 ) 255 255 256 grade = schema.TextLine(257 title = u'Grade',258 default = u'',259 required = False,260 readonly = True,261 )262 263 256 class ICourseTicketAdd(ICourseTicket): 264 257 """An interface for adding course tickets -
main/waeup.sirp/trunk/src/waeup/sirp/students/studycourse.py
r6795 r6802 53 53 ticket = CourseTicket() 54 54 ticket.code = val.getCourseCode() 55 ticket. level = val.level55 ticket.automatic = True 56 56 ticket.core_or_elective = val.core_or_elective 57 57 ticket.title = val.course.title -
main/waeup.sirp/trunk/src/waeup/sirp/students/studylevel.py
r6795 r6802 74 74 super(CourseTicket, self).__init__() 75 75 self.code = None 76 self. level= None76 self.automatic = None 77 77 self.title = None 78 78 self.faculty = None
Note: See TracChangeset for help on using the changeset viewer.