Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/news/+addResponsibilitiesField.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Responsibilities field to Person content type. @danalvrz
29 changes: 29 additions & 0 deletions backend/src/kitconcept/intranet/behaviors/person.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from collective.person.interfaces import IPersonTitle
from kitconcept.intranet import _
from plone.app.z3cform.widgets.select import AjaxSelectFieldWidget
from plone.autoform import directives
from plone.autoform.directives import order_before
from plone.autoform.interfaces import IFormFieldProvider
from plone.supermodel import model
Expand Down Expand Up @@ -29,6 +31,33 @@ class IPersonBehavior(model.Schema):
required=False,
)

# responsibilities fieldset
model.fieldset(
"responsibility_categorization",
label=_(
"label_schema_responsibility_categorization",
default="Responsibilities & Expertise",
),
fields=["responsibilities"],
)

responsibilities = schema.Tuple(
title=_("label_responsibilities", default="Responsibilities"),
description=_(
"help_tags",
default="Describe what others can contact you about. Focus on topics, tasks, or questions you are responsible for, such as advising on specific funding programs, supporting application processes, or clarifying formal requirements. Write in a way that allows colleagues without detailed organizational knowledge to understand whether you are the right contact.",
),
value_type=schema.TextLine(),
required=False,
default=(),
missing_value=(),
)
directives.widget(
"responsibilities",
AjaxSelectFieldWidget,
vocabulary="kitconcept.intranet.vocabularies.responsibilities",
)


@implementer(IPersonTitle)
class AcademicTitleFirstLastName:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -432,9 +432,11 @@
"changeNote": "",
"contributors": [],
"created": "2025-12-10T09:04:17+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "",
"effective": "2025-12-10T12:43:24+00:00",
"effective": "2025-12-10T12:43:00+00:00",
"enable_likes": false,
"exclude_from_nav": false,
"expires": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-06T21:35:08+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "\nThe Image content type can be used to upload an image in various formats (JPG, GIF, PNG, SVG). The uploaded image should always have a high resolution so that it can be used flexibly, for example as a banner image. Plone automatically delivers the images in the best scaling, so there is no need to scale images down manually.",
"effective": "2025-07-09T10:52:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"modified": "2025-09-26T19:36:34+00:00",
"nav_title": null,
"office_phone": null,
"responsibilities": null,
"review_state": "published",
"roles": [
"member"
Expand All @@ -52,6 +53,7 @@
},
"title": "Tim Werner, LL.M.",
"type_title": "Person",
"username": null,
"version": "current",
"versioning_enabled": true,
"workflow_history": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,9 @@
"contact_phone": "+49 1234 567-890",
"contributors": [],
"created": "2023-07-06T21:35:07+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "The event content type can be used to display an event on the website.",
"effective": "2023-07-06T18:35:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1086,7 +1086,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-06T21:35:19+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "\nThe image block allows images to be embedded in various display formats. Images can be displayed in different sizes (100%, L, M, S) and aligned left, right or center of the text flow.",
"effective": "2023-07-06T18:35:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -880,9 +880,11 @@
"changeNote": "",
"contributors": [],
"created": "2025-12-10T09:20:03+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "",
"effective": "2025-12-10T12:43:33+00:00",
"effective": "2025-12-10T12:43:00+00:00",
"enable_likes": false,
"exclude_from_nav": false,
"expires": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@
"changeNote": "",
"contributors": [],
"created": "2025-06-09T12:53:13+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "",
"effective": "2025-07-09T10:52:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
"locked": false,
"stealable": true
},
"modified": "2025-09-26T19:36:34+00:00",
"modified": "2026-01-19T13:04:26+00:00",
"nav_title": null,
"office_phone": null,
"responsibilities": [],
"review_state": "published",
"roles": [
"member"
Expand All @@ -52,6 +53,7 @@
},
"title": "Dr. Ayla Demir",
"type_title": "Person",
"username": null,
"version": "current",
"versioning_enabled": true,
"workflow_history": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,11 @@
"changeNote": "",
"contributors": [],
"created": "2025-12-10T11:20:42+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "",
"effective": "2025-12-10T12:43:52+00:00",
"effective": "2025-12-10T12:43:00+00:00",
"enable_likes": false,
"exclude_from_nav": false,
"expires": null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@
}
},
"blocks_layout": {
"items": ["a601e49f-0062-4961-b6e5-2fc8ae69ade0"]
"items": [
"a601e49f-0062-4961-b6e5-2fc8ae69ade0"
]
},
"headline": "Grid with one column",
"styles": {},
Expand Down Expand Up @@ -502,7 +504,9 @@
}
},
"blocks_layout": {
"items": ["bad9a9d9-da28-4c62-885a-31d2171399ad"]
"items": [
"bad9a9d9-da28-4c62-885a-31d2171399ad"
]
},
"headline": "Grid with one columns",
"styles": {},
Expand Down Expand Up @@ -584,7 +588,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-06T21:35:22+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "\nThe Grid block allows adding multi-column blocks. A grid block can contain between one and four columns of different blocks. Text, teasers, images and videos can be added in a grid block.",
"effective": "2023-07-06T18:35:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@
}
},
"blocks_layout": {
"items": ["ff99d9d2-8dd8-4741-a9b1-c0452fcdd98b"]
"items": [
"ff99d9d2-8dd8-4741-a9b1-c0452fcdd98b"
]
},
"headline": "Block Title",
"styles": {},
Expand Down Expand Up @@ -347,7 +349,9 @@
}
},
"blocks_layout": {
"items": ["5c72db03-cc0d-454e-be9c-2b87b361445a"]
"items": [
"5c72db03-cc0d-454e-be9c-2b87b361445a"
]
},
"headline": "Block Title",
"styles": {},
Expand Down Expand Up @@ -791,7 +795,9 @@
"changeNote": "",
"contributors": [],
"created": "2025-06-10T09:59:47+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "",
"effective": "2025-07-09T10:52:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-06T21:35:22+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "\nThe video block can contain videos from YouTube.",
"effective": "2023-07-06T18:35:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,12 @@
"locked": false,
"stealable": true
},
"modified": "2025-09-26T19:36:34+00:00",
"modified": "2026-01-19T13:04:13+00:00",
"nav_title": null,
"office_phone": null,
"responsibilities": [
"IT-Support"
],
"review_state": "published",
"roles": [
"member"
Expand All @@ -52,6 +55,7 @@
},
"title": "Lukas Brandt, M.Sc.",
"type_title": "Person",
"username": null,
"version": "current",
"versioning_enabled": true,
"workflow_history": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"modified": "2025-09-26T19:36:34+00:00",
"nav_title": null,
"office_phone": null,
"responsibilities": null,
"review_state": "published",
"roles": [
"member"
Expand All @@ -52,6 +53,7 @@
},
"title": "Dr. Clara Beck",
"type_title": "Person",
"username": null,
"version": "current",
"versioning_enabled": true,
"workflow_history": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1514,7 +1514,9 @@
}
},
"blocks_layout": {
"items": ["f56375fe-70a1-4ac1-a94c-adc9998db548"]
"items": [
"f56375fe-70a1-4ac1-a94c-adc9998db548"
]
},
"title": "Accordion with table"
},
Expand Down Expand Up @@ -1547,7 +1549,9 @@
{
"i": "portal_type",
"o": "plone.app.querystring.operation.selection.any",
"v": ["News Item"]
"v": [
"News Item"
]
}
],
"sort_order": "ascending"
Expand All @@ -1566,7 +1570,9 @@
{
"i": "portal_type",
"o": "plone.app.querystring.operation.selection.any",
"v": ["Event"]
"v": [
"Event"
]
}
],
"sort_on": "sortable_title",
Expand Down Expand Up @@ -1641,7 +1647,9 @@
{
"i": "portal_type",
"o": "plone.app.querystring.operation.selection.any",
"v": ["News Item"]
"v": [
"News Item"
]
}
],
"sort_order": "ascending"
Expand Down Expand Up @@ -1676,7 +1684,9 @@
{
"i": "portal_type",
"o": "plone.app.querystring.operation.selection.any",
"v": ["Document"]
"v": [
"Document"
]
}
],
"sort_on": "sortable_title",
Expand Down Expand Up @@ -1713,7 +1723,9 @@
{
"i": "portal_type",
"o": "plone.app.querystring.operation.selection.any",
"v": ["Event"]
"v": [
"Event"
]
}
],
"sort_on": "sortable_title",
Expand Down Expand Up @@ -2952,7 +2964,9 @@
}
},
"blocks_layout": {
"items": ["f56375fe-70a1-4ac1-a94c-adc9998db548"]
"items": [
"f56375fe-70a1-4ac1-a94c-adc9998db548"
]
},
"title": "Accordion with table"
},
Expand Down Expand Up @@ -3270,7 +3284,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-27T19:48:00+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "The accordion contains other blocks in an accordion behavior layout.",
"effective": "2023-09-22T16:09:00+00:00",
"enable_likes": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
"changeNote": "",
"contributors": [],
"created": "2023-07-06T21:35:19+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "The Link content type can be used to display links on the page. Users are automatically redirected to the external site when they click on the link.",
"effective": "2023-07-06T18:35:00+00:00",
"exclude_from_nav": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@
"changeNote": "",
"contributors": [],
"created": "2025-08-21T23:46:00+00:00",
"creators": ["admin"],
"creators": [
"admin"
],
"description": "The iframe block acts as a window, displaying content from a different source, like a video, map, or even another full webpage, without redirecting the user. This allows for seamless integration of external content into a website.",
"effective": "2025-09-18T22:25:00+00:00",
"enable_likes": false,
Expand Down
Loading