{% load chassis_component l10n %}
{% if component.badge %}{{ component.badge }}{% endif %}

{{ component.title }}

{% if component.description %}

{{ component.description }}

{% endif %}
{% for fact in component.facts %}
{{ fact.title }}
{% if fact.action %}{{ fact.formatted_value }} {{ fact.unit }}{% else %}{{ fact.formatted_value }} {{ fact.unit }}{% endif %}{% if fact.delta_relative != None %}{{ fact.delta_relative|floatformat:1 }}%{% endif %}
{% if fact.goal and fact.goal.percentage != None %}
{{ fact.goal.actual }} / {{ fact.goal.target }} {{ fact.goal.unit }}
{% endif %}{% if fact.description %}
{{ fact.description }}
{% endif %}
{% endfor %}
{% if component.actions %}
{% for action in component.actions %}{{ action.label }}{% endfor %}
{% endif %}
{% if component.illustration_url %}
{% endif %}