Changeset 1383 in products
- Timestamp:
- Nov 18, 2009 5:14:42 PM (14 years ago)
- Location:
- quintagroup.mobileextender/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.mobileextender/trunk/docs/HISTORY.txt
r780 r1383 2 2 ========= 3 3 4 1. 0.3(unreleased)4 1.1 (unreleased) 5 5 ------------------ 6 6 7 - Nothing changed yet. 7 - For plone-3 version use plone.app.vocabularies 8 in mobile_control configlet 9 [mylan] 8 10 9 11 -
quintagroup.mobileextender/trunk/quintagroup/mobileextender/browser/interfaces.py
r754 r1383 4 4 from Products.CMFCore.utils import getToolByName 5 5 from quintagroup.mobileextender import mobileextenderMessageFactory as _ 6 7 try: 8 from plone.app import vocabularies 9 except: 10 PT_VOCABULARY = "quintagroup.mobileextender.ptypes" 11 WF_VOCABULARY = "quintagroup.mobileextender.wfstates" 12 else: 13 PT_VOCABULARY = "plone.app.vocabularies.PortalTypes" 14 WF_VOCABULARY = "plone.app.vocabularies.WorkflowStates" 15 16 6 17 7 18 class IMobileConfiglet(interface.Interface): … … 22 33 "of object(s) to find. Leave blank to ignore this criterion."), 23 34 default=[], 24 #source = "quintagroup.mobileextender.ptypes", 25 value_type = schema.Choice( title=u"ptypes", source="quintagroup.mobileextender.ptypes" ), 35 value_type = schema.Choice( title=u"ptypes", source=PT_VOCABULARY ), 26 36 required=False, 27 37 ) … … 31 41 "of object(s) to find. Leave blank to ignore this criterion."), 32 42 default=[], 33 value_type = schema.Choice( title=u"review_states", source= "quintagroup.mobileextender.wfstates"),43 value_type = schema.Choice( title=u"review_states", source=WF_VOCABULARY ), 34 44 required=False, 35 45 ) -
quintagroup.mobileextender/trunk/setup.py
r1128 r1383 2 2 import os 3 3 4 version = '1. 0.3'4 version = '1.1' 5 5 6 6 setup(name='quintagroup.mobileextender',
Note: See TracChangeset
for help on using the changeset viewer.