Changeset 4671 for waeup


Ignore:
Timestamp:
5 Jan 2010, 10:39:52 (15 years ago)
Author:
uli
Message:

Add a datacenter index page.

File:
1 edited

Legend:

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

    r4667 r4671  
    88from waeup.catalog import search, search_context
    99from waeup.interfaces import (IUniversity, IWAeUPObject, IUserContainer,
    10                               IUserAccount, IFacultyContainer)
     10                              IUserAccount, IFacultyContainer, IDataCenter)
    1111from waeup.widgets.interfaces import ITableProvider
    1212from zope.app.security.interfaces import (IAuthentication,
     
    195195    grok.template('searchstudentpage')
    196196    grok.require('waeup.View')
     197    title = u"Student Search"
    197198    pnav = 2
    198199
     
    209210     grok.template('searchpage')
    210211     grok.require('waeup.View')
     212     title = u"Site Search"
     213     pnav = 2
    211214
    212215     def update(self, *args, **kw):
     
    221224          return
    222225
     226#
     227# Datacenter pages...
     228#
     229
     230class DatacenterPage(WAeUPPage):
     231    grok.context(IDataCenter)
     232    grok.name('index')
     233    title = u'Data Center'
     234    pnav = 0
     235
    223236
    224237#
Note: See TracChangeset for help on using the changeset viewer.