Start supporting multiple libraries per lane, as needed for the HiSeq
[htsworkflow.git] / htsworkflow / frontend / templates / experiments / flowcell_detail.html
index b238f8b95f1177575476aae28a76bdb964366807..865fc97a05fd16725e1556df6e1747eb38fe686a 100644 (file)
@@ -38,7 +38,7 @@
        </tr>
       </thead>
       <tbody>
-      {% for lane in flowcell.lane_set.all %}
+      {% for lane in lanes %}
         <tr rel="libns:has_lane" resource="{{lane.get_absolute_url}}" >
           <td><a href="{{lane.get_absolute_url}}"> 
               <span property="libns:lane_number">{{lane.lane_number}}</span></a></td>
@@ -69,6 +69,7 @@
          </thead>
          <tbody>
             {% for lane_id, lane_file_set in run.lane_files.items %}
+           {% if lane_file_set.ivc_all %}
             <tr>
               <td>{{ lane_id }}</td>
               <td>
@@ -96,6 +97,7 @@
                 </a>
               </td>
             </tr>
+            {% endif %}
             {% endfor %} 
          </tbody>
        </table>