Changeset 5993 for main/waeup.sirp/trunk
- Timestamp:
- 28 Apr 2011, 05:45:12 (14 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/browser
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/pages.py
r5988 r5993 845 845 grok.name('index') 846 846 title = 'Academics' 847 pnav = 1 847 label = 'Faculties' 848 pnav = 1 849 grok.template('facultypage') 848 850 849 851 #def update(self, code=None, edit=None, delete=None): … … 904 906 grok.name('index') 905 907 pnav = 1 908 label = 'Departments' 906 909 907 910 @property … … 995 998 grok.name('index') 996 999 pnav = 1 997 #title = 'xxx'998 1000 999 1001 @property … … 1208 1210 mandatory = certcourse.core_or_elective 1209 1211 title = course.title 1212 #import pdb; pdb.set_trace() 1210 1213 courseref_url = self.url(self.context[key]) 1211 1214 course_url = self.url(course) -
main/waeup.sirp/trunk/src/waeup/sirp/browser/templates/facultypage.pt
r5988 r5993 1 <h2 >Departments</h2>1 <h2 tal:content="view/label">TITLE</h2> 2 2 3 3 <div tal:condition="python: not len(context.keys())"> 4 There are no departments registered yet.4 There no subobjects registered yet. 5 5 </div> 6 6 … … 16 16 <td> <a tal:attributes="href value/__name__"> <span tal:content="value/code">Name</span></a></td> 17 17 <td tal:content="value/longtitle">Title</td> 18 <td class="text-right">19 </td>20 18 </tr> 21 19 </tbody>
Note: See TracChangeset for help on using the changeset viewer.