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

add filter value for number of publications

Former-commit-id: ea1a5245cd6369eb4201de93d3618590d26f1db2
parent 66b3fa42
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
</div>
<div class="m-2 d-flex ">
<span>{{ compounds.paginator.count }} compounds</span>
{% if selected_ppis or selected_diseases or selected_taxonomies or selected_boundcomplexes or molecular_weight != molecular_weight_max or a_log_p != a_log_p_max or nb_donor_h != nb_donor_h_max%}
{% if selected_ppis or selected_diseases or selected_taxonomies or selected_boundcomplexes or molecular_weight != molecular_weight_max or a_log_p != a_log_p_max or nb_donor_h != nb_donor_h_max or pubs != pubs_max %}
<span>
&nbsp;-&nbsp;filters:&nbsp;
{% if selected_ppis %}
......@@ -63,6 +63,9 @@
{% if nb_donor_h != nb_donor_h_max %}
{% include "slider_badge.html" with param_name="nb_donor_h" param_value=nb_donor_h param_label="H donors" %}
{% endif %}
{% if pubs != pubs %}
{% include "slider_badge.html" with param_name="pubs" param_value=pubs param_label="Publications" %}
{% endif %}
</span>
{% endif %}
<div class="btn-group m-1 ml-auto">
......
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