Changeset 6803 for main/waeup.sirp/trunk/src/waeup/sirp/students
- Timestamp:
- 20 Sep 2011, 06:57:35 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r6802 r6803 575 575 self.context.getStudent().name,self.context.level_title) 576 576 577 @property 578 def total_credits(self): 579 total_credits = 0 580 for key, val in self.context.items(): 581 total_credits += val.credits 582 return total_credits 583 577 584 class StudyLevelManageActionButton(ManageActionButton): 578 585 grok.order(1) -
main/waeup.sirp/trunk/src/waeup/sirp/students/browser_templates/studylevelpage.pt
r6802 r6803 20 20 </tr> 21 21 </tal:block> 22 <tr> 23 <td> 24 <label>Total Credits:</label> 25 </td> 26 <td> 27 <span tal:replace="view/total_credits">TOTAL</span> 28 </td> 29 </tr> 22 30 </tbody> 23 31 </table>
Note: See TracChangeset for help on using the changeset viewer.