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

display compound name in biblio in compound pharma tab

fix #112


Former-commit-id: 796b90220568670e837797c7fedb9123e424cb44
parent c2e55665
No related branches found
No related tags found
No related merge requests found
......@@ -172,6 +172,7 @@
<thead>
<tr>
<th class="col-sm-1" scope="col">Bibliography</th>
<th scope="col" title="Compound name in publication">Name</th>
<th class="col-sm-1" scope="col">Target</th>
<th class="col-sm-1" scope="col">Competition</th>
<th class="col-sm-1" scope="col">Assay type</th>
......@@ -185,6 +186,11 @@
{% for car in compound.compoundactivityresult_set.all %}
<tr {% if car.is_best %}class="table-primary"{% endif %}>
<td>{% include "biblio_simplelink.html" with bibliography=car.test_activity_description.biblio %}</td>
{% for rcb in car.test_activity_description.biblio.refcompoundbiblio_set.all %}
{% if rcb.compound == compound %}
<td>{{ rcb.compound_name }}</td>
{% endif %}
{% endfor %}
<td>{{ car.test_activity_description.protein_domain_bound_complex.name }} <br /><a href="http://www.uniprot.org/uniprot/{{ car.test_activity_description.protein_domain_bound_complex.protein.uniprot_id }}" target="_blank">{{ car.test_activity_description.protein_domain_bound_complex.protein.uniprot_id }}</a></td>
<td>{{ car.test_activity_description.protein_domain_partner_complex.name }} <br /><a href="http://www.uniprot.org/uniprot/{{ car.test_activity_description.protein_domain_partner_complex.protein.uniprot_id }}" target="_blank">{{ car.test_activity_description.protein_domain_bound_complex.protein.uniprot_id }}</a></td>
<td>{{ car.test_activity_description.get_test_type_display }}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment