Changeset 4640 for waeup/branches


Ignore:
Timestamp:
2 Jan 2010, 16:22:11 (15 years ago)
Author:
uli
Message:
  • Fix template names.
  • Add viewlet for managing faculty containers.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/viewlets.py

    r4588 r4640  
    66from zope.component import getMultiAdapter
    77from zope.location.interfaces import ISite
    8 from waeup.browser.pages import UniversityPage
     8from waeup.browser.pages import UniversityPage, FacultyContainerPage
    99from waeup.interfaces import (IUniversity, IWAeUPObject, IWAeUPXMLExporter,
    1010                              IWAeUPXMLImporter, IFacultyContainer, IFaculty,
     
    9292    grok.require('waeup.manageUniversity')
    9393    grok.order(3)
    94     grok.template('managefacultiesaction')
     94    grok.template('gotofacultiesaction')
     95
     96class ManageFacultiesAction(ManageUniversityAction):
     97    grok.context(IFacultyContainer)
     98    grok.view(FacultyContainerPage)
     99    grok.template('manageaction')
Note: See TracChangeset for help on using the changeset viewer.