mirror of
https://github.com/netbox-community/netbox.git
synced 2025-12-12 19:39:35 -06:00
9 lines
454 B
Python
9 lines
454 B
Python
CONFIGCONTEXT_ACTIONS = """
|
|
{% if perms.extras.change_configcontext %}
|
|
<a href="{% url 'extras:configcontext_edit' pk=record.pk %}" class="btn btn-sm btn-warning"><i class="mdi mdi-pencil" aria-hidden="true"></i></a>
|
|
{% endif %}
|
|
{% if perms.extras.delete_configcontext %}
|
|
<a href="{% url 'extras:configcontext_delete' pk=record.pk %}" class="btn btn-sm btn-danger"><i class="mdi mdi-trash-can-outline" aria-hidden="true"></i></a>
|
|
{% endif %}
|
|
"""
|