Changeset 556 for WAeUP_SRP/trunk/skins/waeup_academics
- Timestamp:
- 26 Sep 2006, 11:04:01 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_academics
- Files:
-
- 8 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r555 r556 33 33 elif context.portal_type == 'Department': 34 34 return context.department_index_view() 35 ## elif context.portal_type == 'Course': 36 ## return context.course_index_view() 35 elif context.portal_type == 'CoursesFolder': 36 return context.courses_index_view() 37 elif context.portal_type == 'Certificate': 38 return context.certificate_index_view() 39 elif context.portal_type == 'StudyLevel': 40 return context.level_index_view() 41 elif context.portal_type in ('CertificateCourse','Course'): 42 return context.academics_document_view() 37 43 return redirect("%s/academics_contents" % context.absolute_url()) 38 44 if isStudent: -
WAeUP_SRP/trunk/skins/waeup_academics/department_index_view.pt
r552 r556 9 9 Up one level 10 10 </a> 11 <h1 tal:content="here/title_or_id"> 12 Page Title 13 </h1> 11 <h3 tal:content="here/title_or_id" /> 14 12 <div tal:condition="nothing" tal:content="info/container_path"/> 15 13 </metal:block> … … 34 32 <tr tal:repeat="row certs" 35 33 tal:attributes="class python:test(repeat['row'].odd(), 'even ajaxtd', 'odd ajaxtd')"> 36 <td align="left" valign="middle" style="width: 5px;" 37 tal:condition="is_manager"> 38 <input type="checkbox" name="ids:list" value="" id="" class="noborder" 39 tal:condition="is_manager" 40 tal:define="id row/id" 41 tal:attributes="value id; 42 id python:'cb_' + id; 43 checked python:id in info['choosen_ids'];" 44 /> 34 <td align="left" valign="middle" style="width: 5px;"> 45 35 </td> 46 36 <td><a href="view" tal:attributes="href string:${row/url}"> 47 <s trongtal:content="row/title" /></a> </td>37 <span tal:content="row/title" /></a> </td> 48 38 <td tal:content="row/id"> </td> 49 <td><a href="edit" tal:attributes="href string:${row/url}/cpsdocument_edit_form">[edit]</a></td>50 39 </tr> 51 40 </table> 52 <table width="100%" cellspacing="0" cellpadding="2" 53 summary="contents of the folder" 41 <table tal:condition="nothing" width="100%" cellspacing="0" cellpadding="2" 54 42 class="folderButtons"> 55 43 <tr> -
WAeUP_SRP/trunk/skins/waeup_academics/faculty_index_view.pt
r551 r556 9 9 Up one level 10 10 </a> 11 <h1 tal:content="here/title_or_id"> 12 Page Title 13 </h1> 11 <h3 tal:content="here/title_or_id" /> 14 12 <div tal:condition="python:0" tal:content="info/container_path"/> 15 13 </metal:block>
Note: See TracChangeset for help on using the changeset viewer.