org.views.people
Functions
|
|
|
|
|
Collects 1:1 mappings of all context-specific functions and |
|
|
|
|
|
|
|
Returns the persons vCard. |
Module Contents
- org.views.people.view_people(self: onegov.people.PersonCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.PersonCollectionLayout | None = None) onegov.core.types.RenderData [source]
- org.views.people.view_person(self: onegov.people.Person, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.PersonLayout | None = None) onegov.core.types.RenderData [source]
- org.views.people.person_functions_by_organization(subject_person: onegov.people.Person, topics: Iterable[Topic], request: onegov.org.request.OrgRequest) Iterable[Markup] [source]
- Collects 1:1 mappings of all context-specific functions and
organizations for a person. Organizations are pages where subject_person is listed as a person.
Returns an Iterable of Markup in the form:
Organization 1: Function A
Organization 2: Function B
…
This is not necessarily the same as person.function!
- org.views.people.handle_new_person(self: onegov.people.PersonCollection, request: onegov.org.request.OrgRequest, form: onegov.org.forms.PersonForm, layout: onegov.org.layout.PersonCollectionLayout | None = None) RenderData | BaseResponse [source]
- org.views.people.handle_edit_person(self: onegov.people.Person, request: onegov.org.request.OrgRequest, form: onegov.org.forms.PersonForm, layout: onegov.org.layout.PersonLayout | None = None) RenderData | BaseResponse [source]