{# Single batch table row. Clickable -- navigates to batch detail page. Variables: batch (CloudBatch): The batch object to render. #} {% set meta = batch.metadata_json | parse_json %} {% set tags = batch.tags_json | parse_json %} {{ batch.name }} {{ meta.get('strain', '-') if meta else '-' }} {{ meta.get('operator', '-') if meta else '-' }} {{ batch.created_at.strftime('%Y-%m-%d %H:%M') if batch.created_at else '-' }} {{ batch.lifecycle | capitalize }} {% if tags %} {% for tag in tags if tags is iterable and tags is not mapping %} {{ tag }} {% endfor %} {% endif %}