Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(57)  |  Call(51)  |  Derive(0)  |  Import(6)

src/f/t/ftw.meeting-1.4.9/ftw/meeting/content/meeting.py   ftw.meeting(Download)
from Products.DataGridField.SelectColumn import SelectColumn
from ftw.calendarwidget.browser.widgets import FtwCalendarWidget
from ftw.meeting import meetingMessageFactory as _
from ftw.meeting.config import PROJECTNAME
from ftw.meeting.content.widget import DataGridWidgetExtended
            widget=FtwCalendarWidget(
                helper_js=('start_end_date_helper.js',),
                label=_(u"meeting_label_start_date",
                        default=u"Start Date"),
                description=_(u"meeting_help_start_date",
            widget=FtwCalendarWidget(
                label=_(
                    u"meeting_label_end_date",
                    default=u"End Date"),
                description=_(
                    u"meeting_help_end_date",

src/f/t/ftw.meeting-1.4.9/ftw/meeting/content/meetingitem.py   ftw.meeting(Download)
from AccessControl import ClassSecurityInfo
from Products.ATContentTypes.content import folder
from Products.ATReferenceBrowserWidget import ATReferenceBrowserWidget
from Products.Archetypes import atapi
from ftw.meeting import meetingMessageFactory as _
 
            widget=atapi.MultiSelectionWidget(
                label=_(u"meetingitem_label_responsibility",
                        default=u"Responsibility"),
                description=_(u"meetingitem_help_responsibility",
            storage=atapi.AnnotationStorage(),
            widget=atapi.RichWidget(
                label=_(u"meetingitem_label_text", default=u"Text"),
                description=_(u"meetingitem_help_text",
                              default=u"Enter the text."),

src/f/t/ftw.meeting-1.4.9/ftw/meeting/latex/views.py   ftw.meeting(Download)
from Products.CMFCore.utils import getToolByName
from ftw.meeting import meetingMessageFactory as _
from ftw.meeting.interfaces import IMeeting, IMeetingItem
from ftw.pdfgenerator.interfaces import ILaTeXLayout
from ftw.pdfgenerator.view import MakoLaTeXView
 
        args.update({
                '_': lambda *a, **kw: translate(_(*a, **kw),
                                                context=self.request),
                'title': meeting.Title(),
        metadata.extend(self.get_dates_metadata())
 
        metadata.append((_(u'meeting_label_location', default=u'Location'),
                         self._get_meeting_value('location')))
 
    def get_meeting_metadata(self):
        metadata = []
 
        metadata.append((_(u'meeting_label_head_of_meeting',
                           default=u'Head of Meeting'),
                         self._get_meeting_value('head_of_meeting')))
 
        metadata.append((_(u'meeting_label_recording_secretary',

src/f/t/ftw.meeting-1.4.9/ftw/meeting/vocabularies.py   ftw.meeting(Download)
from ftw.meeting import meetingMessageFactory as _
from zope import schema, component
from zope.component.hooks import getSite
from zope.interface import implements
from zope.schema.interfaces import IVocabularyFactory
    def _get_types(self):
        return ((u'event', _(u'event', default=u'Event')),
                (u'meeting', _(u'meeting', default=u'Meeting')))
 
 

src/f/t/ftw.meeting-1.4.9/ftw/meeting/latex/layout.py   ftw.meeting(Download)
from ftw.meeting import meetingMessageFactory as _
from ftw.meeting.interfaces import IMeeting
from ftw.pdfgenerator.interfaces import IBuilder
from ftw.pdfgenerator.layout.customizable import CustomizableLayout
from zope.component import adapts
    def get_render_arguments(self):
        args = super(MeetingLayout, self).get_render_arguments()
 
        args['_'] = lambda *a, **kw: translate(_(*a, **kw),
                                               context=self.request)

src/f/t/ftw.meeting-1.4.9/ftw/meeting/latex/tasklisting.py   ftw.meeting(Download)
from Products.CMFCore.utils import getToolByName
from ftw.meeting import meetingMessageFactory
from ftw.meeting.interfaces import IMeeting
from ftw.pdfgenerator import interfaces
from ftw.pdfgenerator.html2latex import wrapper
    def get_render_arguments(self):
        self.layout.use_package('array,supertabular')
 
        _ = lambda *a, **kw: translate(
            meetingMessageFactory(*a, **kw), context=self.request)