Changeset 7366 for main/waeup.sirp/trunk/src
- Timestamp:
- 18 Dec 2011, 07:20:14 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/students
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/viewlets.py
r7351 r7366 24 24 from waeup.sirp.utils.helpers import string_from_bytes, file_size 25 25 from waeup.sirp.browser import DEFAULT_IMAGE_PATH 26 from waeup.sirp.browser.viewlets import PrimaryNavTab 26 from waeup.sirp.browser.viewlets import PrimaryNavTab, PlainActionButton 27 27 from waeup.sirp.browser.layout import default_primary_nav_template 28 28 from waeup.sirp.students.browser import ( … … 115 115 grok.name('top_student') 116 116 117 class StudentLink( grok.Viewlet):117 class StudentLink(PlainActionButton): 118 118 """A link displayed in the student box which shows up for StudentNavigation 119 119 objects. … … 126 126 grok.order(5) 127 127 grok.require('waeup.viewStudent') 128 template = grok.PageTemplateFile('browser_templates/plainactionbutton.pt')129 128 130 129 link = 'index'
Note: See TracChangeset for help on using the changeset viewer.