Jeremy Stretch преди 7 години
родител
ревизия
4ad7882762
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      netbox/templates/dcim/inc/frontport.html
  2. 1 1
      netbox/templates/dcim/inc/rearport.html

+ 1 - 1
netbox/templates/dcim/inc/frontport.html

@@ -10,7 +10,7 @@
 
         {# Name #}
         <td>
-            <i class="fa fa-fw fa-square-o"></i> {{ frontport }}
+            <i class="fa fa-fw fa-square{% if not cable %}-o{% endif %}"></i> {{ frontport }}
         </td>
 
         {# Type #}

+ 1 - 1
netbox/templates/dcim/inc/rearport.html

@@ -10,7 +10,7 @@
 
         {# Name #}
         <td>
-            <i class="fa fa-fw fa-square-o"></i> {{ rearport }}
+            <i class="fa fa-fw fa-square{% if not cable %}-o{% endif %}"></i> {{ rearport }}
         </td>
 
         {# Type #}