wtfs.layouts.notification

Classes

NotificationsLayout

Extends the base layout class with methods related to chameleon

NotificationLayout

Extends the base layout class with methods related to chameleon

AddNotificationLayout

Extends the base layout class with methods related to chameleon

EditNotificationLayout

Extends the base layout class with methods related to chameleon

Module Contents

class wtfs.layouts.notification.NotificationsLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
class wtfs.layouts.notification.NotificationLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
class wtfs.layouts.notification.AddNotificationLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
property cancel_url: str[source]
property success_url: str[source]
class wtfs.layouts.notification.EditNotificationLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: onegov.wtfs.layouts.default.DefaultLayout

Extends the base layout class with methods related to chameleon template rendering.

This class assumes the existance of two templates:

  • layout.pt -> Contains the page skeleton with headers, body and so on.

  • macros.pt -> Contains chameleon macros.

property title: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
property cancel_url: str[source]
property success_url: str[source]