From 9afdc52387dfe5f2fcfc283a7feb2683566ce116 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr>
Date: Thu, 12 Apr 2018 08:31:33 +0200
Subject: [PATCH] Add cell line info for tests in compound card pharmacology
 tab

Former-commit-id: 44951879e0dbcafb87144a65955d04ebed96763c
---
 ippisite/ippidb/templates/compound_card.html | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html
index 889b110f..fbb20830 100644
--- a/ippisite/ippidb/templates/compound_card.html
+++ b/ippisite/ippidb/templates/compound_card.html
@@ -192,9 +192,10 @@
                           <th class="col-sm-1" scope="col">Bibliography</th>
                           <th class="col-sm-1" scope="col">Target</th>
                           <th class="col-sm-1" scope="col">Competition</th>
-                          <th class="col-sm-2" scope="col">Assay type</th>
-                          <th class="col-sm-5" scope="col">Assay name</th>
-                          <th class="col-sm-1" scope="col">Activity type</th>
+                          <th class="col-sm-1" scope="col">Assay type</th>
+                          <th class="col-sm-3" scope="col">Assay name</th>
+                          <th class="col-sm-1" scope="col">Cell line</th>
+                          <th class="col-sm-3" scope="col">Activity type</th>
                           <th class="col-sm-1" scope="col">Activity</th>
                         </tr>
                       </thead>
@@ -206,6 +207,7 @@
                           <td>{{ car.test_activity_description.protein_domain_partner_complex.name }} {{ car.test_activity_description.protein_domain_partner_complex.protein.uniprot_id }}</td>
                           <td>{{ car.test_activity_description.get_test_type_display }}</td>
                           <td>{{ car.test_activity_description.test_name }}</td>
+                          <td>{{ car.test_activity_description.cell_line.name }}</td>
                           <td>{{ car.get_activity_type_display }}</td>
                           <td>{{ car.activity|floatformat:2 }}</td>
                         </tr>
-- 
GitLab