Linha | |
---|
1 | from five import grok |
---|
2 | from Products.CMFPlone.interfaces import IPloneSiteRoot |
---|
3 | from il.portalinterlegis.browser.interfaces import \ |
---|
4 | IComunidadeLegislativa, IInformacao, ICapacitacao, ITecnologia, IComunicacao |
---|
5 | |
---|
6 | class Home(grok.View): |
---|
7 | grok.name('home') |
---|
8 | grok.context(IPloneSiteRoot) |
---|
9 | grok.require('zope2.View') |
---|
10 | |
---|
11 | |
---|
12 | class ComunidadeLegislativaHome(grok.View): |
---|
13 | grok.name('home') |
---|
14 | grok.context(IComunidadeLegislativa) |
---|
15 | grok.require('zope2.View') |
---|
16 | |
---|
17 | |
---|
18 | class InformacaoHome(grok.View): |
---|
19 | grok.name('home') |
---|
20 | grok.context(IInformacao) |
---|
21 | grok.require('zope2.View') |
---|
22 | |
---|
23 | |
---|
24 | class CapacitacaoHome(grok.View): |
---|
25 | grok.name('home') |
---|
26 | grok.context(ICapacitacao) |
---|
27 | grok.require('zope2.View') |
---|
28 | |
---|
29 | |
---|
30 | class TecnologiaHome(grok.View): |
---|
31 | grok.name('home') |
---|
32 | grok.context(ITecnologia) |
---|
33 | grok.require('zope2.View') |
---|
34 | |
---|
35 | |
---|
36 | class ComunicacaoHome(grok.View): |
---|
37 | grok.name('home') |
---|
38 | grok.context(IComunicacao) |
---|
39 | grok.require('zope2.View') |
---|
40 | |
---|
Note: Veja
TracBrowser
para ajuda no uso do navegador do trac.