41 lines
994 B
Handlebars
41 lines
994 B
Handlebars
<h2>{{genus-name}} - Compare Strains</h2>
|
|
|
|
{{
|
|
measurement-search-panel
|
|
search='search'
|
|
strainLabel='Select one or more strains'
|
|
charLabel='Select one or more characteristics'
|
|
}}
|
|
|
|
{{#if dataEmpty}}
|
|
<div class="flakes-message information">
|
|
Please select one or more strains and one or more characteristics.
|
|
</div>
|
|
{{else}}
|
|
<div class="overflow-div">
|
|
<table class="flakes-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Characteristic</th>
|
|
{{#each strains as |strain|}}
|
|
<th>
|
|
{{#link-to 'strains.show' strain.id classBinding="data.typeStrain:type-strain"}}
|
|
{{strain.fullNameMU}}
|
|
{{/link-to}}
|
|
</th>
|
|
{{/each}}
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each data as |row|}}
|
|
<tr>
|
|
<td>{{row.characteristic}}</td>
|
|
{{#each strains as |strain|}}
|
|
<td>{{get-property row strain.id}}</td>
|
|
{{/each}}
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
{{/if}}
|