landsgemeinde.layouts.agenda

Module Contents

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.

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.

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.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]
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.