20190 review feedback
Some checks failed
CI / build (20.x, 3.10) (push) Has been cancelled
CI / build (20.x, 3.11) (push) Has been cancelled
CI / build (20.x, 3.12) (push) Has been cancelled

This commit is contained in:
Arthur 2025-08-29 14:17:26 -07:00
parent 109c85f764
commit 74fbb29cf7

View File

@ -5,7 +5,7 @@
<h2 class="card-header">{% trans "Related Objects" %}</h2> <h2 class="card-header">{% trans "Related Objects" %}</h2>
<ul class="list-group list-group-flush" role="presentation"> <ul class="list-group list-group-flush" role="presentation">
{% for related_object_count in related_models %} {% for related_object_count in related_models %}
{% action_url qs.model 'list' as list_url %} {% action_url related_object_count.queryset.model 'list' as list_url %}
{% if list_url %} {% if list_url %}
<a href="{{ list_url }}?{{ related_object_count.filter_param }}={{ object.pk }}" class="list-group-item list-group-item-action d-flex justify-content-between"> <a href="{{ list_url }}?{{ related_object_count.filter_param }}={{ object.pk }}" class="list-group-item list-group-item-action d-flex justify-content-between">
{{ related_object_count.name }} {{ related_object_count.name }}