landsgemeinde.layouts.agenda

Classes

AgendaItemCollectionLayout

The default layout meant for the public facing parts of the site.

AgendaItemLayout

The default layout meant for the public facing parts of the site.

Module Contents

class landsgemeinde.layouts.agenda.AgendaItemCollectionLayout(model: Any, request: onegov.landsgemeinde.request.LandsgemeindeRequest)[source]

Bases: onegov.landsgemeinde.layouts.default.DefaultLayout

The default layout meant for the public facing parts of the site.

property title: str[source]
property og_description: str[source]
property breadcrumbs: list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.

class landsgemeinde.layouts.agenda.AgendaItemLayout(model: onegov.landsgemeinde.models.AgendaItem, request: onegov.landsgemeinde.request.LandsgemeindeRequest)[source]

Bases: onegov.landsgemeinde.layouts.default.DefaultLayout

The default layout meant for the public facing parts of the site.

model: onegov.landsgemeinde.models.AgendaItem[source]
request: onegov.landsgemeinde.request.LandsgemeindeRequest[source]
property title: str[source]
property og_description: str[source]
property breadcrumbs: list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

A of onegov.org.elements.LinkGroup classes. Each of them will be shown in the top editbar, with the group title being the dropdown title.