{% for gcode in row.gcode %}
{{ gcode }}
{% endfor %}
{{ row.label }} {{ 'sliced' if row.success else 'failed' }}
{% if row.success %}-
{% if row.model_count > 1 %}
- Models
- {{ row.model_count }} on {{ row.gcode | length }} plate{{ '' if row.gcode | length == 1 else 's' }} {% endif %} {% if row.copies > 1 %}
- Copies
- {{ row.copies }} {% endif %} {% if row.print_time %}
- Print time
- {{ row.print_time }} {% endif %} {% if row.filament_g is not none %}
- Filament
- {{ row.filament_g | grams }} {% if row.filament_g_each %}({% for grams in row.filament_g_each %}slot {{ loop.index }}: {{ grams | grams }}{{ ', ' if not loop.last }}{% endfor %}){% endif %} {% endif %} {% if row.filament_changes %}
- Filament changes
- {{ row.filament_changes }} {% endif %}
{{ row.message or "The slicer gave no reason." }}
{% endif %}