Template tags
- maykin_common.templatetags.maykin_common.show_environment_info(context: dict[str, object]) → str
Template that show the current ENVIRONMENT to an authenticated user.
Returns an empty string if SHOW_ENVIRONMENT is set to False
- maykin_common.templatetags.maykin_common.show_product_branding() → SafeString | Literal['']
Render the product branding.
We always look at the white label product branding first and render that. If nothing is configured, nothing at all is rendered.
If on top of the white label branding, there is custom product branding provided too, we render that and use the white label branding for the “powered by” part.
- maykin_common.templatetags.maykin_common.show_version_info()
Template that displays version info.