mirror of
				https://github.com/netbox-community/netbox.git
				synced 2024-05-10 07:54:54 +00:00 
			
		
		
		
	Formatting of cable length in cable trace
This commit is contained in:
		@@ -31,7 +31,7 @@
 | 
			
		||||
                    </h4>
 | 
			
		||||
                    <p><span class="label label-{% if cable.status %}success{% else %}info{% endif %}">{{ cable.get_status_display }}</span></p>
 | 
			
		||||
                    <p>{{ cable.get_type_display|default:"" }}</p>
 | 
			
		||||
                    {% if cable.length %}- {{ cable.length }}{{ cable.get_length_unit_display }}{% endif %}
 | 
			
		||||
                    {% if cable.length %}{{ cable.length }} {{ cable.get_length_unit_display }}{% endif %}
 | 
			
		||||
                    <span class="label color-block center-block" style="background-color: #{{ cable.color }}"> </span>
 | 
			
		||||
                {% else %}
 | 
			
		||||
                    <h4 class="text-muted">No Cable</h4>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user