From 4c6998b182c8659b87a08686a5ea1d521ac949ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Tue, 12 Jun 2018 15:37:02 +0200 Subject: [PATCH] add meas. units in compounds list column headers fixes #70 Former-commit-id: 2a34c58e0fda012ed6ba6948ce559f58b236fe4f --- ippisite/ippidb/templates/compound_t_list.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ippisite/ippidb/templates/compound_t_list.html b/ippisite/ippidb/templates/compound_t_list.html index 14953516..a3ebaa5d 100644 --- a/ippisite/ippidb/templates/compound_t_list.html +++ b/ippisite/ippidb/templates/compound_t_list.html @@ -3,7 +3,7 @@ <tr> {% include "compound_t_colhead.html" with col_id="id" col_name="#" %} {% include "compound_t_colhead.html" with col_id="common_name" col_name="common name" %} - {% include "compound_t_colhead.html" with col_id="molecular_weight" col_name="molecular weight" %} + {% include "compound_t_colhead.html" with col_id="molecular_weight" col_name="molecular weight (g/mol)" %} {% include "compound_t_colhead.html" with col_id="a_log_p" col_name="AlogP" %} {% include "compound_t_colhead.html" with col_id="compound_action_pdb_ids" col_name="PDB ligand(s)" %} {% include "compound_t_colhead.html" with col_id="mddr_phase" col_name="MDDR phase" %} @@ -11,7 +11,7 @@ {% include "compound_t_colhead.html" with col_id="biblio_refs" col_name="available publications" %} {% include "compound_t_colhead.html" with col_id="nb_acceptor_h" col_name="number of hydrogen bond acceptors" %} {% include "compound_t_colhead.html" with col_id="nb_donor_h" col_name="number of hydrogen bond donors" %} - {% include "compound_t_colhead.html" with col_id="tpsa" col_name="TPSA" %} + {% include "compound_t_colhead.html" with col_id="tpsa" col_name="TPSA (Ã…2)" %} {% include "compound_t_colhead.html" with col_id="nb_rotatable_bonds" col_name="number of rotatable bonds" %} {% include "compound_t_colhead.html" with col_id="nb_aromatic_sssr" col_name="number of aromatic SSSR" %} <button type="button" class="btn btn-primary float-right" style="width: inherit!important" data-toggle="modal" data-target="#selectColumns"> @@ -27,7 +27,7 @@ <th scope="col">{{ compound.common_name|default_if_none:"-" }}</th> {% endif %} {% if "molecular_weight" in fields %} - <th scope="col">{{ compound.molecular_weight}} g/mol</th> + <th scope="col">{{ compound.molecular_weight}}</th> {% endif %} {% if "a_log_p" in fields %} <th scope="col">{{ compound.a_log_p }}</th> -- GitLab