Standardized display of attributes for primary objects

This commit is contained in:
Jeremy Stretch
2016-07-29 15:31:35 -04:00
parent 1bbe7f95d6
commit 8a9c6ce37a
11 changed files with 149 additions and 95 deletions

View File

@@ -90,7 +90,13 @@
</tr>
<tr>
<td>Role</td>
<td>{{ vlan.role }}</td>
<td>
{% if vlan.role %}
<span>{{ vlan.role }}</span>
{% else %}
<span class="text-muted">None</span>
{% endif %}
</td>
</tr>
<tr>
<td>Description</td>
@@ -98,7 +104,7 @@
{% if vlan.description %}
{{ vlan.description }}
{% else %}
<span class="text-muted">None</span>
<span class="text-muted">N/A</span>
{% endif %}
</td>
</tr>