{% load humanize %} {% comment %} OOB target is the whole : a bare at the top level of an htmx response would be stripped by the HTML parser. {% endcomment %}
{% for g in gear_health %} {% empty %} {% endfor %}
BrandModelProgressUsed
{{ g.brand_name }} {{ g.model_name }} {% if g.activity_count %}
{{ g.distance_km|intcomma }} / {{ g.lifespan_km|intcomma }} km{{ g.wear_pct }}%
{% if g.wear_alert %}{% endif %} {% else %}{% endif %}
{{ g.activity_count }} activit{{ g.activity_count|pluralize:"y,ies" }}
No gear yet.