landsgemeinde.layouts.assembly ============================== .. py:module:: landsgemeinde.layouts.assembly Classes ------- .. autoapisummary:: landsgemeinde.layouts.assembly.AssemblyCollectionLayout landsgemeinde.layouts.assembly.AssemblyLayout landsgemeinde.layouts.assembly.AssemblyTickerLayout Module Contents --------------- .. py:class:: AssemblyCollectionLayout(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:: AssemblyLayout(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:attribute:: model :type: onegov.landsgemeinde.models.Assembly .. 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:: AssemblyTickerLayout(model: onegov.landsgemeinde.models.Assembly, 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.Assembly .. 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:method:: current_assembly() -> None