field order: make sure title and description are always on top
This commit is contained in:
parent
74eefa81eb
commit
4ac8a4d24e
3 changed files with 7 additions and 2 deletions
|
@ -6,6 +6,7 @@ $Id$
|
||||||
1.1
|
1.1
|
||||||
---
|
---
|
||||||
|
|
||||||
|
- field order: make sure title and description are always on top
|
||||||
- yellow pages: view task_candidates for selecting persons with required
|
- yellow pages: view task_candidates for selecting persons with required
|
||||||
knowledge for task
|
knowledge for task
|
||||||
- improve 'move' and 'delegate' actions: create new run, store source and
|
- improve 'move' and 'delegate' actions: create new run, store source and
|
||||||
|
|
|
@ -90,6 +90,10 @@ class IConceptSchema(Interface):
|
||||||
missing_value=u'',
|
missing_value=u'',
|
||||||
required=False)
|
required=False)
|
||||||
|
|
||||||
|
# let these fields always appear on top:
|
||||||
|
IConceptSchema['title'].order = 1
|
||||||
|
IConceptSchema['description'].order = 2
|
||||||
|
|
||||||
|
|
||||||
class IConcept(IConceptSchema, ILoopsObject, IPotentialTarget):
|
class IConcept(IConceptSchema, ILoopsObject, IPotentialTarget):
|
||||||
""" The concept is the central element of the loops framework.
|
""" The concept is the central element of the loops framework.
|
||||||
|
|
|
@ -37,7 +37,7 @@ from loops.schema.base import Relation, RelationSet
|
||||||
_ = MessageFactory('loops')
|
_ = MessageFactory('loops')
|
||||||
|
|
||||||
|
|
||||||
class IPerson(IBasePerson, IKnowing, ILoopsAdapter):
|
class IPerson(IBasePerson, IKnowing):
|
||||||
""" A person, including knowledge/learning management features.
|
""" A person, including knowledge/learning management features.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ class IPerson(IBasePerson, IKnowing, ILoopsAdapter):
|
||||||
required=False)
|
required=False)
|
||||||
|
|
||||||
|
|
||||||
class ITask(IBaseTask, IRequirementProfile, ILoopsAdapter):
|
class ITask(IBaseTask, IRequirementProfile):
|
||||||
""" A task, also acting as a knowledge requirement profile.
|
""" A task, also acting as a knowledge requirement profile.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue