landsgemeinde.layouts.assembly

Module Contents

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.

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.

title() str[source]
og_description() str[source]
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.

title() str[source]
og_description() str[source]
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]
title() str[source]
og_description() str[source]
breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.