diff --git a/app/Resources/views/model/detail.html.twig b/app/Resources/views/model/detail.html.twig index 9712b6b..0806048 100644 --- a/app/Resources/views/model/detail.html.twig +++ b/app/Resources/views/model/detail.html.twig @@ -20,7 +20,7 @@ - + @@ -73,43 +73,35 @@
- {% if subparts|length %} -
-
- {% for subpart in subparts %} - {{ blocks.model(subpart['model'], subpart['quantity']) }} - {% endfor %} -
+ +
+
+ {% for subpart in subparts %} + {{ blocks.model(subpart['model'], subpart['quantity']) }} + {% endfor %}
- {% endif %} - {% if related|length %} -
-
- {% for model in related %} - {{ blocks.model(model) }} - {% endfor %} -
+
+ +
+
+ {% for model in related %} + {{ blocks.model(model) }} + {% endfor %}
- {% endif %} - {% if model.parents|length %} -
-
- {% for subpart in model.parents %} - {{ blocks.model(subpart.parent) }} - {% endfor %} -
+
+ +
+
+ {% for subpart in model.parents %} + {{ blocks.model(subpart.parent) }} + {% endfor %}
- {% endif %} +
+
{% endblock %}
{{ 'model.id' | trans }}

{{ model.id }}

{{ model.id }}

{{ 'model.name' | trans }}