mirror of
https://github.com/netbox-community/netbox.git
synced 2026-03-28 20:32:07 +01:00
* #20923: Migrate IPAM views to declarative layouts * #20923: Migrate IPAM views to declarative layouts * fix VRF view * fix Route Target view * fix addressing details modal * fix add prefix button * fix add aggregate button * fix add VLAN button * fix breadcrumb on Application Service * fix breadcrumb on ANS * move attrs to separate file * review feedback * review feedback * review feedback * review feedback
11 lines
345 B
HTML
11 lines
345 B
HTML
{% extends 'generic/object.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block extra_controls %}
|
|
{% if perms.ipam.add_prefix %}
|
|
<a href="{% url 'ipam:prefix_add' %}?role={{ object.pk }}" class="btn btn-primary">
|
|
<span class="mdi mdi-plus-thick" aria-hidden="true"></span> {% trans "Add Prefix" %}
|
|
</a>
|
|
{% endif %}
|
|
{% endblock extra_controls %}
|