1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Standardize button colors

This commit is contained in:
jeremystretch
2021-07-20 13:46:59 -04:00
parent ba3552b697
commit a5dda0705e
16 changed files with 31 additions and 48 deletions

View File

@@ -37,15 +37,15 @@
{# Extra buttons #}
{% block extra_controls %}{% endblock %}
{% if request.user|can_add:object %}
{% clone_button object %}
{% endif %}
{% if request.user|can_change:object %}
{% edit_button object %}
{% endif %}
{% if request.user|can_delete:object %}
{% delete_button object %}
{% endif %}
{% if object.clone_fields and request.user|can_add:object %}
{% clone_button object %}
{% endif %}
{% if request.user|can_change:object %}
{% edit_button object %}
{% endif %}
{% if request.user|can_delete:object %}
{% delete_button object %}
{% endif %}
</div>
</div>