Changeset 6002 for main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
- Timestamp:
- 1 May 2011, 12:00:22 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
r6000 r6002 326 326 327 327 class ManageDepartmentActionButton(ManageActionButton): 328 """ ' Editsettings' button for departments.328 """ 'Manage settings' button for departments. 329 329 """ 330 330 grok.context(IDepartment) 331 331 grok.view(DepartmentPage) 332 text = ' Editdepartment'332 text = 'Manage department' 333 333 334 334 class ManageCourseActionButton(ManageActionButton): … … 340 340 341 341 class ManageCertificateActionButton(ManageActionButton): 342 """ ' Editsettings' button for certificates.342 """ 'Manage settings' button for certificates. 343 343 """ 344 344 grok.context(ICertificate) 345 345 grok.view(CertificatePage) 346 text = ' Editcertificate'346 text = 'Manage certificate' 347 347 348 348 class ManageCertificateCourseActionButton(ManageActionButton): 349 """ ' Editsettings' button for certificate courses.349 """ 'Manage settings' button for certificate courses. 350 350 """ 351 351 grok.context(ICertificateCourse) … … 373 373 # text = 'Add department' 374 374 375 class AddCertificateActionButton(AddActionButton):376 grok.context(IDepartment)377 grok.view(DepartmentPage)378 grok.order(3)379 text = 'Add certificate'380 target = 'addcertificate'381 382 class AddCourseActionButton(AddActionButton):383 grok.context(IDepartment)384 grok.view(DepartmentPage)385 grok.order(4)386 text = 'Add course'387 target = 'addcourse'388 389 class AddCertificateCourseActionButton(AddActionButton):390 grok.context(ICertificate)391 grok.view(CertificatePage)392 grok.order(4)393 text = 'Add course referrer'394 target = 'addcertificatecourse'375 #class AddCertificateActionButton(AddActionButton): 376 # grok.context(IDepartment) 377 # grok.view(DepartmentPage) 378 # grok.order(3) 379 # text = 'Add certificate' 380 # target = 'addcertificate' 381 382 #class AddCourseActionButton(AddActionButton): 383 # grok.context(IDepartment) 384 # grok.view(DepartmentPage) 385 # grok.order(4) 386 # text = 'Add course' 387 # target = 'addcourse' 388 389 #class AddCertificateCourseActionButton(AddActionButton): 390 # grok.context(ICertificate) 391 # grok.view(CertificatePage) 392 # grok.order(4) 393 # text = 'Add course referrer' 394 # target = 'addcertificatecourse' 395 395 396 396 #
Note: See TracChangeset for help on using the changeset viewer.