landsgemeinde.layouts.assembly

Classes

AssemblyCollectionLayout

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

AssemblyLayout

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

AssemblyTickerLayout

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

Module Contents

class landsgemeinde.layouts.assembly.AssemblyCollectionLayout(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.assembly.AssemblyLayout(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.

model: onegov.landsgemeinde.models.Assembly[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.

class landsgemeinde.layouts.assembly.AssemblyTickerLayout(model: onegov.landsgemeinde.models.Assembly, 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.Assembly[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.

current_assembly() None[source]