Commit 7718c019 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

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

parent b70122e8
Pipeline #31997 passed with stages
in 15 minutes and 38 seconds
......@@ -437,6 +437,44 @@
<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;">
<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>
<tbody style="text-align: center;">
{% for ccr in compound.compoundcytotoxicityresult_set.all %}
<td>{% include "biblio_simplelink.html" with bibliography=ccr.test_cytotoxicity_description.biblio %}
{% 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>{{ }}</td>
<td>{{ ccr.test_cytotoxicity_description.compound_concentration }}</td>
<td>{{ ccr.toxicity|yesno }}</td>
{% endfor %}
<div class="tab-pane fade" id="drugsimilarity" role="tabpanel" aria-labelledby="drugsimilarity-tab">
<table class="table table-striped" style="border:1px solid #E3E3E3;">
Supports Markdown
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