pas.layouts.party

Module Contents

Classes

PartyCollectionLayout

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

PartyLayout

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

class pas.layouts.party.PartyCollectionLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.pas.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 pas.layouts.party.PartyLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.pas.layouts.default.DefaultLayout

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

collection() onegov.pas.collections.PartyCollection[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.