fsi.layouts.subscription

Module Contents

Classes

SubscriptionCollectionLayout

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

SubscriptionLayout

Only used for editing since it does not contain fields

class fsi.layouts.subscription.SubscriptionCollectionLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.fsi.layout.DefaultLayout

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

property for_himself: bool[source]
model: onegov.fsi.collections.subscription.SubscriptionsCollection[source]
title() str[source]

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.

course_event() CourseEvent | None[source]
preview_info_mail_url() str[source]
show_send_info_mail_button() bool[source]
breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.

intercooler_btn_for_item(subscription: onegov.fsi.models.CourseSubscription) onegov.core.elements.Link[source]
class fsi.layouts.subscription.SubscriptionLayout(model: Any, request: onegov.org.request.OrgRequest)[source]

Bases: onegov.fsi.layout.DefaultLayout

Only used for editing since it does not contain fields

model: onegov.fsi.models.CourseSubscription[source]
collection() onegov.fsi.collections.subscription.SubscriptionsCollection[source]

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.

breadcrumbs() list[onegov.core.elements.Link][source]

Returns the breadcrumbs for the current page.