{% if show_close %} {% endif %} {% comment %}Map cards drop the route trace — the route is already drawn on the map behind the card. With a photo they show it as a full-bleed hero; without one they get a sport-colored hero band (matching the route's colour on the map) instead of an empty band, carrying the sport pill and PR badge.{% endcomment %} {% if not map_card or activity.photo_url %} {% comment %}Pre-apply fc-has-map on route cards so the photo starts as the corner thumbnail — otherwise it renders full-bleed and visibly snaps to the corner once the tile map is drawn client-side.{% endcomment %}
{% if activity.photo_url %}{% endif %} {% if not map_card %}{% endif %} {% if activity.pb %}★ PR{% endif %}
{% include "strava/widgets/_fc_pill.html" %}
{% else %}
{% include "strava/widgets/_fc_pill.html" %} {% if activity.pb %}★ PR{% endif %}
{% endif %}

{{ activity.name }}

{{ activity.start_date|date:"M j, Y" }}, {{ activity.start_date|time:"g:i A" }}

{{ activity.distance_km }} KM
{{ activity.pace_parts.0 }} {{ activity.pace_parts.1 }} {% if activity.is_speed_sport %}Speed{% else %}Pace{% endif %}
{{ activity.duration }} Time
{% if not activity.is_swim_sport %}
{{ activity.elevation }} m Elev.
{% endif %}
{% if activity.gear %} {{ activity.gear }} {% endif %}