Ignore:
Timestamp:
18 Dec 2011, 07:20:14 (13 years ago)
Author:
Henrik Bettermann
Message:

We do not need a second plainactionbutton pagetemplate.

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  
    2424from waeup.sirp.utils.helpers import string_from_bytes, file_size
    2525from waeup.sirp.browser import DEFAULT_IMAGE_PATH
    26 from waeup.sirp.browser.viewlets import PrimaryNavTab
     26from waeup.sirp.browser.viewlets import PrimaryNavTab, PlainActionButton
    2727from waeup.sirp.browser.layout import default_primary_nav_template
    2828from waeup.sirp.students.browser import (
     
    115115    grok.name('top_student')
    116116
    117 class StudentLink(grok.Viewlet):
     117class StudentLink(PlainActionButton):
    118118    """A link displayed in the student box which shows up for StudentNavigation
    119119    objects.
     
    126126    grok.order(5)
    127127    grok.require('waeup.viewStudent')
    128     template = grok.PageTemplateFile('browser_templates/plainactionbutton.pt')
    129128
    130129    link = 'index'
Note: See TracChangeset for help on using the changeset viewer.