Ignore:
Timestamp:
14 Apr 2011, 08:31:02 (13 years ago)
Author:
Henrik Bettermann
Message:

Revert to removesubobjectspage instead of using remove buttons in index views.

Use zebra css class to distinguish odd and even table lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py

    r5936 r5942  
    392392
    393393
    394 #class RemoveFacultyActionButton(RemoveActionButton):
    395 #    grok.context(IFacultyContainer)
    396 #    grok.view(FacultyContainerPage)
    397 #    text = 'Remove faculty'
    398     
    399 #class RemoveDepartmentActionButton(RemoveActionButton):
    400 #    grok.context(IFaculty)
    401 #    grok.view(FacultyPage)
    402 #    text = 'Remove department'
     394class RemoveFacultyActionButton(RemoveActionButton):
     395    grok.context(IFacultyContainer)
     396    grok.view(FacultyContainerPage)
     397    text = 'Remove faculty'
     398   
     399class RemoveDepartmentActionButton(RemoveActionButton):
     400    grok.context(IFaculty)
     401    grok.view(FacultyPage)
     402    text = 'Remove department'
    403403
    404404
Note: See TracChangeset for help on using the changeset viewer.