Changeset 3620
- Timestamp:
- 8 Aug 2008, 12:07:32 (16 years ago)
- Location:
- WAeUP_SRP/unilorin/waeup_custom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/unilorin/waeup_custom/getTranscriptInfo.py
r3618 r3620 64 64 year_details[year_counter]['total_credits'] = total_credits 65 65 year_details[year_counter]['gpa'] = "%4.2f" % (float(gpa)/int(total_credits)) 66 else: 67 year_details[year_counter]['total_credits'] = 0 68 year_details[year_counter]['gpa'] = 0 66 69 year.sort(cmp=lambda x,y: cmp("%(semester)s%(code)s" % x, 67 70 "%(semester)s%(code)s" % y)) -
WAeUP_SRP/unilorin/waeup_custom/transcript_view.pt
r3618 r3620 72 72 <br /> 73 73 <table> 74 <tr >74 <tr tal:condition="details/total_credits" > 75 75 <th>Total Credits:</th> 76 76 <td tal:content="details/total_credits" />
Note: See TracChangeset for help on using the changeset viewer.