diff --git a/CHANGES.txt b/CHANGES.txt index d4269a0..c2bf60c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,6 +6,7 @@ $Id$ 1.1 --- +- field order: make sure title and description are always on top - yellow pages: view task_candidates for selecting persons with required knowledge for task - improve 'move' and 'delegate' actions: create new run, store source and diff --git a/interfaces.py b/interfaces.py index 85bdefc..e760c85 100644 --- a/interfaces.py +++ b/interfaces.py @@ -90,6 +90,10 @@ class IConceptSchema(Interface): missing_value=u'', required=False) +# let these fields always appear on top: +IConceptSchema['title'].order = 1 +IConceptSchema['description'].order = 2 + class IConcept(IConceptSchema, ILoopsObject, IPotentialTarget): """ The concept is the central element of the loops framework. diff --git a/knowledge/interfaces.py b/knowledge/interfaces.py index 5d747ad..7176ab5 100644 --- a/knowledge/interfaces.py +++ b/knowledge/interfaces.py @@ -37,7 +37,7 @@ from loops.schema.base import Relation, RelationSet _ = MessageFactory('loops') -class IPerson(IBasePerson, IKnowing, ILoopsAdapter): +class IPerson(IBasePerson, IKnowing): """ A person, including knowledge/learning management features. """ @@ -48,7 +48,7 @@ class IPerson(IBasePerson, IKnowing, ILoopsAdapter): required=False) -class ITask(IBaseTask, IRequirementProfile, ILoopsAdapter): +class ITask(IBaseTask, IRequirementProfile): """ A task, also acting as a knowledge requirement profile. """