diff --git a/netbox/templates/dcim/device.html b/netbox/templates/dcim/device.html index f029bf2f9..e12801d89 100644 --- a/netbox/templates/dcim/device.html +++ b/netbox/templates/dcim/device.html @@ -635,8 +635,10 @@ $('button.toggle-description').click(function() { var selected = $(this).attr('selected'); if (selected) { $('span.iface-description').hide(); + $('i.fa-comment-o').show(); } else { $('span.iface-description').show(); + $('i.fa-comment-o').hide(); } $(this).attr('selected', !selected); $(this).children('span').toggleClass('glyphicon-check glyphicon-unchecked'); diff --git a/netbox/templates/dcim/inc/interface.html b/netbox/templates/dcim/inc/interface.html index 35f6c98e9..fb18c55e6 100644 --- a/netbox/templates/dcim/inc/interface.html +++ b/netbox/templates/dcim/inc/interface.html @@ -15,7 +15,7 @@ {% endif %} {% if iface.description %} - {{ iface.description }} + {{ iface.description }} {% endif %}