wtfs.layouts.daily_list

Classes

DailyListLayout

Extends the base layout class with methods related to chameleon

SpecificDailyListBaseLayout

Extends the base layout class with methods related to chameleon

DailyListBoxesLayout

Extends the base layout class with methods related to chameleon

DailyListBoxesAndFormsLayout

Extends the base layout class with methods related to chameleon

Module Contents

class wtfs.layouts.daily_list.DailyListLayout(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.daily_list.SpecificDailyListBaseLayout(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.

date_custom_format = 'EEEE dd. MMMM yyyy'[source]
property subtitle: str[source]
property breadcrumbs: list[onegov.core.elements.Element][source]
class wtfs.layouts.daily_list.DailyListBoxesLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificDailyListBaseLayout

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]
class wtfs.layouts.daily_list.DailyListBoxesAndFormsLayout(model: object, request: onegov.core.request.CoreRequest)[source]

Bases: SpecificDailyListBaseLayout

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]