mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-07 08:08:15 -06:00
Change description classes and try to hide comment bubble
This commit is contained in:
parent
8ee05e6208
commit
da1ade224e
@ -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');
|
||||
|
@ -15,7 +15,7 @@
|
||||
{% endif %}
|
||||
<td>
|
||||
{% if iface.description %}
|
||||
<span class="label label-primary iface-description" title="{{ iface.description }}">{{ iface.description }}</span>
|
||||
<span class="text-muted iface-description" title="{{ iface.description }}">{{ iface.description }}</span>
|
||||
{% endif %}
|
||||
</td>
|
||||
</td>
|
||||
|
Loading…
Reference in New Issue
Block a user