fix: reduce database queries when building menues (#6928)
This commit is contained in:
parent
1bcee8b506
commit
06f496ca6c
|
@ -140,7 +140,7 @@
|
|||
<li>
|
||||
<a class="dropdown-item {% if flavor != 'top' %}text-wrap{% endif %}"
|
||||
href="{% url "ietf.group.views.group_documents" g.acronym %}">
|
||||
{{ g.acronym }} {{ g.type.slug }} docs
|
||||
{{ g.acronym }} {{ g.type_id }} docs
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
@ -309,7 +309,7 @@
|
|||
<li>
|
||||
<a class="dropdown-item {% if flavor != 'top' %}text-wrap link-primary{% endif %}"
|
||||
href="{% url "ietf.group.views.meetings" g.acronym %}">
|
||||
{{ g.acronym }} {{ g.type.slug }} meetings
|
||||
{{ g.acronym }} {{ g.type_id }} meetings
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue