Ignore:
Timestamp:
13 Nov 2014, 16:54:17 (10 years ago)
Author:
Henrik Bettermann
Message:

Remove tools.

rename institution company.

Remove some apis from docs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/branches/henrik-regista/src/waeup/ikoba/browser/pages.py

    r11952 r11954  
    4646    IkobaDisplayFormPage, NullValidator)
    4747from waeup.ikoba.browser.interfaces import (
    48     IInstitution, ICaptchaManager, IChangePassword)
     48    ICompany, ICaptchaManager, IChangePassword)
    4949from waeup.ikoba.browser.layout import jsaction, action, UtilityView
    5050from waeup.ikoba.interfaces import MessageFactory as _
     
    325325class ContactAdminForm(IkobaForm):
    326326    grok.name('contactadmin')
    327     #grok.context(IInstitution)
     327    #grok.context(ICompany)
    328328    grok.template('contactform')
    329329    grok.require('waeup.Authenticated')
     
    405405
    406406#
    407 # Institution related pages...
     407# Company related pages...
    408408#
    409409
    410 class InstitutionPage(IkobaDisplayFormPage):
    411     """ The main institution page.
     410class CompanyPage(IkobaDisplayFormPage):
     411    """ The main company page.
    412412    """
    413413    grok.require('waeup.Public')
    414414    grok.name('index')
    415     grok.context(IInstitution)
     415    grok.context(ICompany)
    416416    pnav = 0
    417417    label = ''
     
    434434    """
    435435    grok.name('administration')
    436     grok.context(IInstitution)
     436    grok.context(ICompany)
    437437    grok.require('waeup.managePortal')
    438438    label = _(u'Administration')
     
    443443    """
    444444    grok.name('feed.rss')
    445     grok.context(IInstitution)
     445    grok.context(ICompany)
    446446    grok.require('waeup.Public')
    447     grok.template('institutionrss20feed')
     447    grok.template('companyrss20feed')
    448448
    449449    name = 'General news feed'
     
    457457    @property
    458458    def title(self):
    459         return getattr(grok.getSite(), 'name', u'Sample Institution')
     459        return getattr(grok.getSite(), 'name', u'Sample Company')
    460460
    461461    @property
     
    15681568    """Captcha'd page for all kind of users to request a password change.
    15691569    """
    1570     grok.context(IInstitution)
     1570    grok.context(ICompany)
    15711571    grok.name('changepw')
    15721572    grok.require('waeup.Anonymous')
Note: See TracChangeset for help on using the changeset viewer.