mirror of
https://github.com/netbox-community/netbox.git
synced 2025-09-06 06:13:36 -06:00
20190 review feedback
This commit is contained in:
parent
109c85f764
commit
74fbb29cf7
@ -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 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user