AuthWeb.PeopleView (auth v1.6.6)

Link to this section Summary

Functions

The resource name, as an atom, for this view

capitalize/1 captalises the first character of a string. checks for nil values to avoid seeing the following error: (FunctionClauseError) no function clause matching in String.capitalize/2

Renders the given template locally.

show_email/2 determines if we should show the email address in template

status_string/2 returns a string of status

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

Link to this section Functions

The resource name, as an atom, for this view

Link to this function

capitalize(str)

capitalize/1 captalises the first character of a string. checks for nil values to avoid seeing the following error: (FunctionClauseError) no function clause matching in String.capitalize/2

Link to this function

render(template, assigns \\ %{})

Renders the given template locally.

Link to this function

show_email(person, app_ids)

show_email/2 determines if we should show the email address in template

Link to this function

status_string(status_id, statuses)

status_string/2 returns a string of status

Link to this function

template_not_found(template, assigns)

Specs

template_not_found(Phoenix.Template.name(), map()) :: no_return()

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