mirror of
https://github.com/netbox-community/netbox.git
synced 2026-01-23 12:08:43 -06:00
Some checks failed
CI / build (20.x, 3.12) (push) Has been cancelled
CI / build (20.x, 3.13) (push) Has been cancelled
CI / build (20.x, 3.14) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (python) (push) Has been cancelled
14 lines
648 B
HTML
14 lines
648 B
HTML
{% extends 'generic/object_children.html' %}
|
|
{% load i18n %}
|
|
|
|
{% block extra_controls %}
|
|
{% include 'ipam/inc/toggle_available.html' %}
|
|
{% include 'ipam/inc/max_depth.html' %}
|
|
{% include 'ipam/inc/max_length.html' %}
|
|
{% if perms.ipam.add_prefix and first_available_prefix %}
|
|
<a href="{% url 'ipam:prefix_add' %}?prefix={{ first_available_prefix }}&vrf={{ object.vrf.pk }}&site={{ object.site.pk }}&tenant_group={{ object.tenant.group.pk }}&tenant={{ object.tenant.pk }}" class="btn btn-primary">
|
|
<i class="mdi mdi-plus-thick" aria-hidden="true"></i> {% trans "Add Prefix" %}
|
|
</a>
|
|
{% endif %}
|
|
{% endblock extra_controls %}
|