Commit 773d61ca authored by Rachel TORCHET's avatar Rachel TORCHET
Browse files

add PK results to compound page (FIX #217)

parent 7718c019
Pipeline #32081 passed with stages
in 17 minutes and 50 seconds
......@@ -436,10 +436,10 @@
</div>
</div>
</div>
<!-- Add a if condition if no data -->
<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>
<h5 class="card_title">Cytotoxicity data</h5>
<div class="card_border">
<table class="table table-sm col-sm-12 col-md-12">
<thead style="text-align: center;">
......@@ -473,7 +473,59 @@
</div>
</div>
</div>
<!-- Add a if condition if no data -->
<div class="row d-flex justify-content-center">
<div class="col-sm-12 col-md-12" style="margin: 10px;">
<h5 class="card_title">PK data</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">Administration mode</th>
<th class="card_title" scope="col">Dose (mg/kg)</th>
<th class="card_title" scope="col">Dose interval (hours)</th>
<th class="card_title" scope="col">Tolerated</th>
<th class="card_title" scope="col">AUC</th>
<th class="card_title" scope="col">Clearance</th>
<th class="card_title" scope="col">Cmax</th>
<th class="card_title" scope="col">Oral bioavailability</th>
<th class="card_title" scope="col">T1/2 (min)</th>
<th class="card_title" scope="col">Tmax (min)</th>
<th class="card_title" scope="col">Volume distribution (Vd)</th>
</tr>
</thead>
<tbody style="text-align: center;">
{% for cpr in compound.compoundpkresult_set.all %}
<tr>
<td>{% include "biblio_simplelink.html" with bibliography=cpr.test_pk_description.biblio %}
</td>
{% for rcb in cpr.test_pk_description.biblio.refcompoundbiblio_set.all %}
{% if rcb.compound == compound %}
<td>{{ rcb.compound_name }}</td>
{% endif %}
{% endfor %}
<td>{{ cpr.test_pk_description.test_name }}</td>
<td>{{ cpr.test_pk_description.administration_mode }}</td>
<td>{{ cpr.test_pk_description.dose|floatformat:2 }}</td>
<td>{{ cpr.test_pk_description.dose_interval }}</td>
<td>{{ cpr.tolerated|yesno }}</td>
<td>{{ cpr.auc_av|yesno }}</td>
<td>{{ cpr.clearance_av|yesno }}</td>
<td>{{ cpr.c_max_av|yesno }}</td>
<td>{{ cpr.oral_bioavailability }}</td>
<td>{{ cpr.t_demi }}</td>
<td>{{ cpr.t_max }}</td>
<td>{{ cpr.voldistribution_av|yesno }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="drugsimilarity" role="tabpanel" aria-labelledby="drugsimilarity-tab">
......
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