An improvement on the inventory system. Getting it going again.
[htsworkflow.git] / htsworkflow / frontend / templates / inventory / inventory_index.html
index 399dae1c6940ac4abf21bfad5fa7a2e749188f9e..2eb84abc4ba73d0497610711ebce06a8313e6494 100644 (file)
   <table class="{% if cl.has_filters %} filtered{% endif %}">
     <thead >
       <tr >
-        <td >UUID</td>
-        <td >Barcode ID</td>
-        <td >Location</td>
-        <td >Model</td>
-        <td >Vendor</td>
-        <td >Created</td>
-        <td >Contains</td>
+        <td >Name</td>
+        <td >Description</td>
       </tr>
     </thead>
     <tbody >
-      {% for item in item_changelist.get_query_set %}
+      {% for itemtype in item_changelist.get_query_set %}
       <tr >
-        <td >{{ item.uuid }}</td>
-        <td >{{ item.barcode_id}}</td>
-        <td >{{ item.location }}</td>
-        <td >{{ item.item_type }}</td>
-        <td ></td>      
-        <td >{{ item.creation_date }}</td>      
-        <td >
-          {% for content in item.longtermstorage_set.all %}
-          {{ content.flowcell }}
-          {% endfor %}
-        </td>
+        <td ><a href="/inventory/it/{{ itemtype.name }}/">{{ itemtype.name }}</a></td>
+        <td >{{ itemtype.description }}</td>
       </tr>
       {% endfor %}
     </tbody>