Parcourir la source

Clever icon thing

Jeremy Stretch il y a 7 ans
Parent
commit
4ad7882762

+ 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 #}