Updated Library view to show an icon if a record exists showing that the library...
[htsworkflow.git] / htsworkflow / frontend / samples / views.py
index 4b6b3775f78c7546866d8121e5ac16224383a2c9..b8956d5b20342f6d24e6b802ac6e48a9601187cf 100644 (file)
@@ -41,6 +41,7 @@ def create_library_context(cl):
            lane = getattr(lib, 'lane_%d_library' % (lane_id,))
            lanes_run += len( lane.all() )
        summary['lanes_run'] = lanes_run
+       summary['is_archived'] = lib.is_archived()
        records.append(summary)
     cl.result_count = unicode(cl.paginator._count) + u" libraries"
     return {'library_list': records }