swissvotes.layouts.mail ======================= .. py:module:: swissvotes.layouts.mail Classes ------- .. autoapisummary:: swissvotes.layouts.mail.MailLayout Module Contents --------------- .. py:class:: MailLayout(model: Any, request: onegov.swissvotes.request.SwissvotesRequest) Bases: :py:obj:`onegov.swissvotes.layouts.default.DefaultLayout` A special layout for creating HTML E-Mails. .. py:property:: base :type: chameleon.PageTemplateFile Returns the layout, which defines the base layout of all pages. See ``templates/layout.pt``. .. py:property:: primary_color :type: str