diff --git a/coldfront/core/resource/templates/resource_detail.html b/coldfront/core/resource/templates/resource_detail.html index 8c99f9942..a98dc2317 100644 --- a/coldfront/core/resource/templates/resource_detail.html +++ b/coldfront/core/resource/templates/resource_detail.html @@ -125,20 +125,27 @@

Child
{% if child_resources %} -
- - - - - - - - - - - - - {% for child in child_resources %} + {% if child_resources.0.Acc %} + + {% else %} +
+
Resource NameWarrantyExpireServiceEndVendorSerial #Model
+ + + + + + + + + + + + {% for child in child_resources %} + {% if child.Available %} @@ -147,10 +154,12 @@

Child

- {% endfor %} - -
Resource NameWarrantyExpireServiceEndVendorSerial #Model
{{child.object}} {{child.WarrantyExpirationDate}}{{child.SerialNumber}} {{child.Model}}
-
+ {% endif %} + {% endfor %} + + +
+ {% endif %} {% else %}