From d6cbebb69a297a08cdf4b26531fc61145f0c736d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20M=C3=A9nager?= <herve.menager@pasteur.fr> Date: Tue, 5 May 2020 15:08:32 +0200 Subject: [PATCH] correct display for Pfizer TPSA in compound card pharma table --- ippisite/ippidb/templates/compound_card.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html index 2ad8e23e..b1782bc3 100644 --- a/ippisite/ippidb/templates/compound_card.html +++ b/ippisite/ippidb/templates/compound_card.html @@ -211,8 +211,8 @@ <td class="table-light"></td> <td class="text-center {% status_class compound.veber_tpsa %}" title="TPSA <= 140"> </td> - <td class="text-center default_if_none:" not available" }}</td> - </tr> + <td class="text-center {% status_class compound.pfizer_tpsa %}" title="TPSA >= 75"> + </tr> <tr> <th scope="row">RB</th> <td>{{ compound.nb_rotatable_bonds | default_if_none:"not available"}}</td> -- GitLab