fsi.layout ========== .. py:module:: fsi.layout Classes ------- .. autoapisummary:: fsi.layout.FormatMixin fsi.layout.DefaultLayout Module Contents --------------- .. py:class:: FormatMixin .. py:attribute:: request :type: onegov.fsi.request.FsiRequest .. py:method:: format_status(model_status: onegov.fsi.models.course_event.EventStatusType) -> str :staticmethod: .. py:method:: format_notification_type(notification_type: onegov.fsi.models.course_notification_template.NotificationType) -> str :staticmethod: .. py:method:: format_boolean(val: bool) -> str .. py:class:: DefaultLayout(model: Any, request: onegov.org.request.OrgRequest, edit_mode: bool = False) Bases: :py:obj:`onegov.town6.layout.DefaultLayout`, :py:obj:`FormatMixin` The default layout meant for the public facing parts of the site. .. py:attribute:: app :type: onegov.fsi.app.FsiApp Returns the application behind the request. .. py:attribute:: request :type: onegov.fsi.request.FsiRequest .. py:method:: instance_link(instance: object) -> str