landsgemeinde.layouts.agenda ============================ .. py:module:: landsgemeinde.layouts.agenda Classes ------- .. autoapisummary:: landsgemeinde.layouts.agenda.AgendaItemCollectionLayout landsgemeinde.layouts.agenda.AgendaItemLayout Module Contents --------------- .. py:class:: AgendaItemCollectionLayout(model: Any, request: onegov.landsgemeinde.request.LandsgemeindeRequest) Bases: :py:obj:`onegov.landsgemeinde.layouts.default.DefaultLayout` The default layout meant for the public facing parts of the site. .. py:property:: title :type: str .. py:property:: og_description :type: str .. py:property:: breadcrumbs :type: list[onegov.core.elements.Link] Returns the breadcrumbs for the current page. .. py:property:: editbar_links :type: list[onegov.core.elements.Link | onegov.core.elements.LinkGroup] | None A of :class:`onegov.org.elements.LinkGroup` classes. Each of them will be shown in the top editbar, with the group title being the dropdown title. .. py:class:: AgendaItemLayout(model: onegov.landsgemeinde.models.AgendaItem, request: onegov.landsgemeinde.request.LandsgemeindeRequest) Bases: :py:obj:`onegov.landsgemeinde.layouts.default.DefaultLayout` The default layout meant for the public facing parts of the site. .. py:attribute:: model :type: onegov.landsgemeinde.models.AgendaItem .. py:attribute:: request :type: onegov.landsgemeinde.request.LandsgemeindeRequest .. py:property:: title :type: str .. py:property:: og_description :type: str .. py:property:: breadcrumbs :type: list[onegov.core.elements.Link] Returns the breadcrumbs for the current page. .. py:property:: editbar_links :type: list[onegov.core.elements.Link | onegov.core.elements.LinkGroup] | None A of :class:`onegov.org.elements.LinkGroup` classes. Each of them will be shown in the top editbar, with the group title being the dropdown title. .. py:method:: editbar_links_for_votum(votum: onegov.landsgemeinde.models.Votum) -> list[onegov.core.elements.Link | onegov.core.elements.LinkGroup] | None