{% extends "base.html" %} {% from "_macros.html" import collapse_card_start, collapse_card_end, card_link_by_title %} {% block content %}

Experiment {{experiment.label}}

{{ collapse_card_start("Findings", show=True) }} {% for label in labels %} {%set count = [] %} {% for finding in findings %} {% if finding.label_id == label.label_id %} {% if count.append(1) %}{% endif %} {% endif %} {% endfor %} {{ collapse_card_start(label.label_text, show=True, data_count=count|sum(), aria_expanded="false") }} {% for property in properties %} {% for finding in findings %} {% if property.finding_id == finding.finding_id and finding.label_id == label.label_id %} {% endif %} {% endfor %} {% endfor %}
Property Value
{{property.label}} {{property.value}}
{{ collapse_card_end(label.label_text) }} {% endfor %} {{ collapse_card_end("Findings") }} {{ collapse_card_start("Experiment resources", show=True) }} {% for resource in resources %} {% endfor %}
XNAT resource id URL
{{resource.xnatresource_id}} {{resource.url}}
{{ collapse_card_end("Experiment resources") }} {% endblock %}