Changeset 12962 for main


Ignore:
Timestamp:
17 May 2015, 20:27:18 (10 years ago)
Author:
Henrik Bettermann
Message:

Customize SourcesOverviewPage?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/browser/pages.py

    r12956 r12962  
    1919"""
    2020
     21import grok
     22from waeup.kofa.browser.layout import KofaPage
    2123from waeup.kofa.browser.pages import SourcesOverview
    2224from kofacustom.nigeria.interfaces import (
    2325    high_qual, high_grade, exam_types, LGASource)
     26from kofacustom.nigeria.interfaces import MessageFactory as _
    2427
    2528class NigeriaSourcesOverview(SourcesOverview):
    26 
    2729
    2830    def _set_high_qual(self):
     
    5658        self._set_lgas()
    5759        return
     60
     61
     62class NigeriaSourcesOverviewPage(KofaPage, NigeriaSourcesOverview):
     63    grok.name('sources')
     64    grok.require('waeup.Public')
     65    label = _(u'Sources & Vocabularies')
     66    pnav = 0
Note: See TracChangeset for help on using the changeset viewer.