</tr>
</thead>
<tbody>
+ {% if eland_results %}
{% for result in eland_results %}
<tr about="{{result.flowcell.get_absolute_url}}">
<td property="libns:date" content="{{result.run_date|date:'Y-m-d\TH:i:s'}}" datatype="xsd:dateTime">{{ result.run_date|date}}</td>
</td>
</tr>
{% endfor %}
+ {% else %}
+ <tr><td colspan="8">No data</td></tr>
+ {% endif %}
</tbody>
</table>
</tr>
</thead>
<tbody>
-
+ {% if lane_summary_list %}
{# ls short for lane summary #}
{% for ls in lane_summary_list %}
<tr about="{{ls.lane.get_absolute_url}}">
<td>{{ ls.repeat_reads|intcomma }}</td>
</tr>
{% endfor %}
- </tbody>
- </table>
+ {% else %}
+ <tr><td colspan="20">No data</td></tr>
+ {% endif %}
+ </tbody>
+ </table>
<h2>Flowcell Notes</h2>
<table>
<td>Comment</td>
</tr>
</thead>
+ {% if lib.lane_set.all %}
<tbody>
{% for lane in lib.lane_set.all %}
<tr rel="libns:has_lane" resource="{{lane.get_absolute_url}}">
</tr>
{% endfor %}
</tbody>
+ {% endif %}
</table>
<br/>
<hr/>