Changeset 10782 for main/waeup.kofa/trunk/src
- Timestamp:
- 21 Nov 2013, 16:23:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/viewlets.py
r10646 r10782 145 145 """Get a URL to the target... 146 146 """ 147 return self.view.url(self.view.context, self.target) 147 if self.target: 148 return self.view.url(self.view.context, self.target) 149 return 148 150 149 151 @property … … 424 426 grok.context(IFacultiesContainer) 425 427 grok.view(FacultiesContainerPage) 428 grok.name('exportfacultystudents') 426 429 grok.require('waeup.showStudents') 427 430 icon = 'actionicon_down.png' … … 450 453 grok.context(IFaculty) 451 454 grok.view(FacultyPage) 455 grok.name('findstudents') 452 456 grok.require('waeup.showStudents') 453 457 text = _('Find students') … … 468 472 grok.context(IDepartment) 469 473 grok.view(DepartmentPage) 474 grok.name('showdepartmentstudents') 470 475 grok.require('waeup.showStudents') 471 476 icon = 'actionicon_student.png' … … 479 484 grok.context(IDepartment) 480 485 grok.view(DepartmentPage) 486 grok.name('exportdepartmentstudents') 481 487 grok.require('waeup.showStudents') 482 488 icon = 'actionicon_down.png' … … 498 504 grok.context(ICourse) 499 505 grok.view(CoursePage) 506 grok.name('showcoursestudents') 500 507 grok.require('waeup.showStudents') 501 508 icon = 'actionicon_student.png' … … 509 516 grok.context(ICourse) 510 517 grok.view(CoursePage) 518 grok.name('exportcoursestudents') 511 519 grok.require('waeup.showStudents') 512 520 icon = 'actionicon_down.png' … … 520 528 grok.context(ICourse) 521 529 grok.view(CoursePage) 530 grok.name('updatescores') 522 531 grok.require('waeup.editScores') 523 532 icon = 'actionicon_scores.png' … … 539 548 grok.context(ICertificate) 540 549 grok.view(CertificatePage) 550 grok.name('showcertificatestudents') 541 551 grok.require('waeup.showStudents') 542 552 icon = 'actionicon_student.png' … … 550 560 grok.context(ICertificate) 551 561 grok.view(CertificatePage) 562 grok.name('exportcertificatestudents') 552 563 grok.require('waeup.showStudents') 553 564 icon = 'actionicon_down.png'
Note: See TracChangeset for help on using the changeset viewer.