View Source Mobilizon.Web.ExportView (Mobilizon v5.0.0-beta.1)

Summary

Functions

The resource name, as an atom, for this view

Link to this function

datetime_relative(datetime, locale \\ "en")

View Source

See Mobilizon.Service.DateTime.datetime_relative/2.

Link to this function

datetime_to_string(datetime, locale \\ "en", format \\ :medium)

View Source

See Mobilizon.Service.DateTime.datetime_to_string/3.

Link to this function

datetime_to_time_string(datetime, locale \\ "en", format \\ :short)

View Source

See Mobilizon.Service.DateTime.datetime_to_time_string/3.

Link to this function

datetime_tz_convert(datetime, timezone)

View Source

See Mobilizon.Service.DateTime.datetime_tz_convert/2.

Link to this function

event_participants.html(assigns)

View Source
Link to this function

render(template, assigns \\ %{})

View Source

Renders the given template locally.

See Mobilizon.Service.Address.render_address/1.

Link to this function

template_not_found(template, assigns)

View Source
@spec template_not_found(binary(), map()) :: no_return()

Callback invoked when no template is found. By default it raises but can be customized to render a particular template.