update inventory status template to use new field name for samples_library library id
authorDiane Trout <diane@caltech.edu>
Tue, 27 Oct 2009 22:27:10 +0000 (22:27 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 27 Oct 2009 22:27:10 +0000 (22:27 +0000)
htsworkflow/frontend/templates/inventory/inventory_summary.html

index 332dd0efc56b12d85c8dc0222af9fa82113ac713..d057ec9f1703fbd29fd3b52afc4dba01bd313086 100644 (file)
@@ -43,7 +43,7 @@
         <script>
                 var lts_data = [
                 {% for lts in item.longtermstorage_set.all %}
-                        {% for lib in lts.libraries.iterator %}[ "{{ lts.flowcell.flowcell_id }}","{{ lib.library_id }}","{% for sd in lts.storage_devices.iterator %}{{ sd }}{% if forloop.last %}"{% else %}|{% endif %}{% endfor %}{% if forloop.parentloop.last %}{% if forloop.last %}]{% else %}],{% endif %}{% else %}],{% endif %}
+                        {% for lib in lts.libraries.iterator %}[ "{{ lts.flowcell.flowcell_id }}","{{ lib.id }}","{% for sd in lts.storage_devices.iterator %}{{ sd }}{% if forloop.last %}"{% else %}|{% endif %}{% endfor %}{% if forloop.parentloop.last %}{% if forloop.last %}]{% else %}],{% endif %}{% else %}],{% endif %}
                         {% endfor %}
                 {% endfor %}
                 ];