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

optimize number of publications display in compounds list

Former-commit-id: 98deac319334dcc074ee177f495931721df54ab1
parent 9cece641
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@
{% 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" %}
{% include "compound_t_colhead.html" with col_id="available_tests" col_name="available tests" %}
{% include "compound_t_colhead.html" with col_id="biblio_refs" col_name="available publications" %}
{% include "compound_t_colhead.html" with col_id="pubs" 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 (Å2)" %}
......@@ -41,8 +41,8 @@
{% if "available_tests" in fields %}
<th scope="col"> ? </th>
{% endif %}
{% if "biblio_refs" in fields %}
<th scope="col">{{ compound.biblio_refs|length }}</th>
{% if "pubs" in fields %}
<th scope="col">{{ compound.pubs }}</th>
{% endif %}
{% if "nb_acceptor_h" in fields %}
<th scope="col">{{ compound.nb_acceptor_h }}</th>
......@@ -94,7 +94,7 @@
<label><input type="checkbox" name="field" value="available_tests" class="mr-1" {% if 'available_tests' in fields %}checked="checked"{% endif %} />Available tests</label>
</div>
<div class="row">
<label><input type="checkbox" name="field" value="biblio_refs" class="mr-1" {% if 'biblio_refs' in fields %}checked="checked"{% endif %} />Available publications</label>
<label><input type="checkbox" name="field" value="pubs" class="mr-1" {% if 'pubs' in fields %}checked="checked"{% endif %} />Available publications</label>
</div>
<div class="row">
<label><input type="checkbox" name="field" value="nb_acceptor_h" class="mr-1" {% if 'nb_acceptor_h' in fields %}checked="checked"{% endif %} />Number of hydrogen bond acceptors</label>
......@@ -109,7 +109,7 @@
<label><input type="checkbox" name="field" value="nb_rotatable_bonds" class="mr-1" {% if 'tpsa' in fields %}checked="checked"{% endif %} />Number of rotatable bonds</label>
</div>
<div class="row">
<label><input type="checkbox" name="field" value="nb_aromatic_sssr" class="mr-1" {% if 'tpsa' in fields %}checked="checked"{% endif %} />Number of aromatic Smallest Set of System Rings (SSSR)</label>
<label><input type="checkbox" name="field" value="families" class="mr-1" {% if 'families' in fields %}checked="checked"{% endif %} />PPI families</label>
</div>
</div>
<div class="modal-footer">
......
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