[trails] Fix display of trails in charts
All checks were successful
build / test (push) Successful in 2m7s

This commit is contained in:
2026-06-03 15:47:56 -04:00
parent 579da8c44e
commit 445103a878
2 changed files with 35 additions and 3 deletions

View File

@ -258,7 +258,7 @@
{% for chart in charts.trail|slice:":20" %}
<li class="list-group-item d-flex justify-content-between align-items-center">
<span class="me-2"><strong>#{{chart.rank}}</strong></span>
<a href="{{chart.trail.get_absolute_url}}">{{chart.trail.name}}</a>
<a href="{{chart.trail.get_absolute_url}}">{{chart.trail.title}}</a>
<span class="badge bg-primary rounded-pill">{{chart.count}}</span>
</li>
{% endfor %}