Просмотр исходного кода

Fixes #2330: Incorrect tab link in VRF changelog view

Jeremy Stretch 7 лет назад
Родитель
Сommit
cfab9a6a0a
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      netbox/templates/ipam/vrf.html

+ 1 - 1
netbox/templates/ipam/vrf.html

@@ -40,7 +40,7 @@
     {% include 'inc/created_updated.html' with obj=vrf %}
     <ul class="nav nav-tabs">
         <li role="presentation"{% if not active_tab %} class="active"{% endif %}>
-            <a href="{{ aggregate.get_absolute_url }}">VRF</a>
+            <a href="{{ vrf.get_absolute_url }}">VRF</a>
         </li>
         <li role="presentation"{% if active_tab == 'changelog' %} class="active"{% endif %}>
             <a href="{% url 'ipam:vrf_changelog' pk=vrf.pk %}">Changelog</a>