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

fix device & device component templates

This commit is contained in:
checktheroads
2021-03-14 17:26:33 -07:00
parent 3bb2b9e8f6
commit 187f4fa4aa
14 changed files with 175 additions and 229 deletions

View File

@@ -114,7 +114,7 @@
{% endfor %}
</table>
</div>
<div class="card-footer text-right noprint">
<div class="card-footer text-end noprint">
<a href="{{ object.virtual_chassis.get_absolute_url }}" class="btn btn-primary btn-sm">
<span class="mdi mdi-arrow-right-bold" aria-hidden="true"></span> View Virtual Chassis
</a>
@@ -265,7 +265,7 @@
{% if perms.secrets.add_secret %}
<div class="card-footer text-end noprint">
<a href="{% url 'secrets:secret_add' %}?device={{ object.pk }}&return_url={{ object.get_absolute_url }}" class="btn btn-sm btn-primary">
<span class="bi bi-plus" aria-hidden="true"></span> Add secret
<i class="bi bi-plus"></i> Add secret
</a>
</div>
{% endif %}