pas.layouts.legislative_period

Classes

LegislativePeriodCollectionLayout

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

LegislativePeriodLayout

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

Module Contents

class pas.layouts.legislative_period.LegislativePeriodCollectionLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: onegov.pas.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 pas.layouts.legislative_period.LegislativePeriodLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False)[source]

Bases: onegov.pas.layouts.default.DefaultLayout

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

property collection: onegov.pas.collections.LegislativePeriodCollection[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.