diff --git a/ippisite/ippidb/templates/compound_card.html b/ippisite/ippidb/templates/compound_card.html index a0e973aa95a2917ddd5dbdbfa25902ecdbed072c..5b3e91778b951174f08d5d08cf9a0b8e9ed7afc4 100644 --- a/ippisite/ippidb/templates/compound_card.html +++ b/ippisite/ippidb/templates/compound_card.html @@ -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>