- Timestamp:
- 30 Jul 2010, 20:03:57 (14 years ago)
- Location:
- main/waeup.sirp/branches/henrik-experimental-layout/src/waeup/sirp/browser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/branches/henrik-experimental-layout/src/waeup/sirp/browser/breadcrumbs.py
r5005 r5351 71 71 """ 72 72 grok.context(interfaces.IFacultyContainer) 73 title = u' Faculties'73 title = u'Academics' 74 74 75 75 class AdministrationBreadcrumb(Breadcrumb): -
main/waeup.sirp/branches/henrik-experimental-layout/src/waeup/sirp/browser/viewlets.py
r5152 r5351 227 227 class ManageLink(grok.Viewlet): 228 228 grok.viewletmanager(LeftSidebar) 229 grok.context(IUniversity)230 grok.view(UniversityPage)229 #grok.context(IUniversity) 230 #grok.view(UniversityPage) 231 231 grok.order(5) 232 232 # This link is only displayed, if the user is … … 235 235 236 236 def render(self): 237 return u'<div class="portlet"><a href="manage">Settings</a></div>' 237 return u'<div class="portlet"><a href="%s">Portal Settings</a></div>' % ( 238 self.view.application_url('manage')) 239 240 238 241 239 242 class ManageFacultiesLink(grok.Viewlet): … … 247 250 248 251 def render(self): 249 return u'<div class="portlet"><a href="faculties">Manage faculties</a></div>' 252 #return u'<div class="portlet"><a href="faculties">Manage Faculties</a></div>' 253 return '' 250 254 251 255 class ManageUsersLink(grok.Viewlet): 252 256 grok.viewletmanager(LeftSidebar) 253 grok.context(IUniversity)254 grok.view(UniversityPage)257 #grok.context(IUniversity) 258 #grok.view(UniversityPage) 255 259 grok.order(6) 256 260 grok.require('waeup.manageUsers') 257 261 258 262 def render(self): 259 return u'<div class="portlet"><a href="users">Manage users</a></div>' 263 return u'<div class="portlet"><a href="%s">Portal Users</a></div>' % ( 264 self.view.application_url('users')) 260 265 261 266 class ManageDataCenter(grok.Viewlet): 262 267 grok.viewletmanager(LeftSidebar) 263 grok.context(IUniversity)264 grok.view(UniversityPage)268 #grok.context(IUniversity) 269 #grok.view(UniversityPage) 265 270 grok.order(6) 266 271 grok.require('waeup.manageUniversity') 267 272 268 273 def render(self): 269 return u'<div class="portlet"><a href="datacenter">Data Center</a></div>' 274 return u'<div class="portlet"><a href="%s">Data Center</a></div>' % ( 275 self.view.application_url('datacenter')) 270 276 271 277 # … … 514 520 515 521 pnav = 1 516 tab_title = u' Faculties'522 tab_title = u'Academics' 517 523 518 524 @property
Note: See TracChangeset for help on using the changeset viewer.