Ignore:
Timestamp:
12 Jun 2011, 23:04:59 (13 years ago)
Author:
uli
Message:

Clean up app.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/interfaces.py

    r6353 r6361  
    11##
    22## interfaces.py
     3import os
    34from hurry.workflow.interfaces import IWorkflow, IWorkflowInfo
    45from zc.sourcefactory.basic import BasicSourceFactory
     
    89from zope.interface import Interface, Attribute, implements
    910from zope.schema.vocabulary import SimpleVocabulary, SimpleTerm
     11
     12default_frontpage = u'' + open(os.path.join(
     13        os.path.dirname(__file__), 'frontpage.rst'), 'rb').read()
    1014
    1115class FatalCSVError(Exception):
     
    6367    name = schema.TextLine(
    6468        title = u'Name of University',
    65         default = u'Unnamed',
     69        default = u'Sample University',
    6670        required = True,
    6771        )
     
    6973    title = schema.TextLine(
    7074        title = u'Title of frontpage',
    71         default = u'No Title',
     75        default = u'Welcome to the Student Information and Registration ' +
     76                  u'Portal of Sample University',
    7277        required = False,
    7378        )
     
    8388        title = u'Content in reST format',
    8489        required = False,
    85         default = u'This is the SIRP frontpage.'
     90        default = default_frontpage,
    8691        )
    8792
Note: See TracChangeset for help on using the changeset viewer.