Colorized roles in rack and device lists

This commit is contained in:
Jeremy Stretch
2016-08-10 22:20:09 -04:00
parent 43e675d2ca
commit adfdd1ed29
4 changed files with 32 additions and 13 deletions

View File

@@ -96,6 +96,16 @@
{% endif %}
</td>
</tr>
<tr>
<td>Role</td>
<td>
{% if rack.role %}
<a href="{{ rack.role.get_absolute_url }}">{{ rack.role }}</a>
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
<tr>
<td>Type</td>
<td>