Changeset 4707
- Timestamp:
- 7 Jan 2010, 22:31:16 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/pages.py
r4690 r4707 14 14 IFaculty) 15 15 from waeup.widgets.interfaces import ITableProvider 16 from waeup.utils.helpers import getName 16 17 from zope.app.security.interfaces import (IAuthentication, 17 18 IUnauthenticatedPrincipal, … … 417 418 self.redirect(self.url()) 418 419 return 420 421 # 422 # Faculty pages 423 # 424 class FacultyPage(WAeUPPage): 425 """Index page of faculties. 426 """ 427 grok.context(IFaculty) 428 grok.name('index') 429 pnav = 1 430 @property 431 def title(self): 432 return "%s (%s)" % (getName(self.context), self.context.code) 433 434 def update(self): 435 self.table = ITableProvider(self.context).getTables(view=self)[0] 436 self.table.need()
Note: See TracChangeset for help on using the changeset viewer.