Commit a93534f0 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

add tests to avoid displaying Cytotox and PK tables if no data

additional work on #217
parent 792a1293
Pipeline #32912 passed with stages
in 16 minutes and 49 seconds
......@@ -436,7 +436,7 @@
</div>
</div>
</div>
<!-- Add a if condition if no data -->
{% if compound.cytoxtest_av %}
<div class="row d-flex justify-content-center">
<div class="col-sm-12 col-md-12" style="margin: 10px;">
<h5 class="card_title">Cytotoxicity data</h5>
......@@ -473,8 +473,9 @@
</div>
</div>
</div>
<!-- Add a if condition if no data -->
<div class="row d-flex justify-content-center">
{% endif %}
{% if compound.pktest_av %}
<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">
......@@ -526,7 +527,7 @@
</div>
</div>
</div>
{% endif %}
</div>
<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