Skip to content
Snippets Groups Projects
Commit 4c6998b1 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add meas. units in compounds list column headers

fixes #70


Former-commit-id: 2a34c58e0fda012ed6ba6948ce559f58b236fe4f
parent e1c3aa10
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment