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
__resource__()
The resource name, as an atom, for this view
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
render(template, assigns \\ %{})
Renders the given template locally.
show_email(person, app_ids)
show_email/2 determines if we should show the email address in template
status_string(status_id, statuses)
status_string/2 returns a string of status
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.