Skip to content

Commit

Permalink
Moved LAG members list to the description column
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed May 5, 2017
1 parent b3667be commit fcfcd77
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions netbox/templates/dcim/inc/interface.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
{% if iface.description %}
<i class="fa fa-fw fa-comment-o" title="{{ iface.description }}"></i>
{% endif %}
{% if iface.is_lag %}
<br /><small class="text-muted">{{ iface.member_interfaces.all|join:", "|default:"No members" }}</small>
{% endif %}
</td>
<td>{{ iface.mac_address|default:"" }}</td>
{% if iface.is_lag %}
<td colspan="2" class="text-muted">LAG interface</td>
<td colspan="2" class="text-muted">
LAG interface<br />
<small class="text-muted">{{ iface.member_interfaces.all|join:", "|default:"No members" }}</small>
</td>
{% elif iface.is_virtual %}
<td colspan="2" class="text-muted">Virtual interface</td>
{% elif iface.connection %}
Expand Down

0 comments on commit fcfcd77

Please sign in to comment.