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

add cytotoxicity results to compound page (WIP on #217)

parent b70122e8
No related branches found
No related tags found
No related merge requests found
Pipeline #31997 passed
...@@ -437,6 +437,44 @@ ...@@ -437,6 +437,44 @@
</div> </div>
</div> </div>
<div class="row d-flex justify-content-center">
<div class="col-sm-12 col-md-12" style="margin: 10px;">
<h5 class="card_title">Cytotoxicity</h5>
<div class="card_border">
<table class="table table-sm col-sm-12 col-md-12">
<thead style="text-align: center;">
<tr>
<th class="card_title" scope="col">Bibliography</th>
<th class="card_title" scope="col" title="Compound name in publication">Name</th>
<th class="card_title" scope="col">Assay name</th>
<th class="card_title" scope="col">Cell line</th>
<th class="card_title" scope="col">Compound concentration (μM)</th>
<th class="card_title" scope="col">Toxicity</th>
</tr>
</thead>
<tbody style="text-align: center;">
{% for ccr in compound.compoundcytotoxicityresult_set.all %}
<tr>
<td>{% include "biblio_simplelink.html" with bibliography=ccr.test_cytotoxicity_description.biblio %}
</td>
{% for rcb in ccr.test_cytotoxicity_description.biblio.refcompoundbiblio_set.all %}
{% if rcb.compound == compound %}
<td>{{ rcb.compound_name }}</td>
{% endif %}
{% endfor %}
<td>{{ ccr.test_cytotoxicity_description.test_name }}</td>
<td>{{ ccr.test_cytotoxicity_description.cell_line.name }}</td>
<td>{{ ccr.test_cytotoxicity_description.compound_concentration }}</td>
<td>{{ ccr.toxicity|yesno }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div> </div>
<div class="tab-pane fade" id="drugsimilarity" role="tabpanel" aria-labelledby="drugsimilarity-tab"> <div class="tab-pane fade" id="drugsimilarity" role="tabpanel" aria-labelledby="drugsimilarity-tab">
<table class="table table-striped" style="border:1px solid #E3E3E3;"> <table class="table table-striped" style="border:1px solid #E3E3E3;">
......
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