Commit 95c3e09d authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

adjust display of MW in compound physicochemical tests table

parent 48621c3d
......@@ -66,7 +66,13 @@
</tr>
<tr>
<th scope="row">MW</th>
<td class="text-right {% status_class compound.lipinsky_mw %}" title="Molecular weight <= 500g/mol">{{ compound.molecular_weight | default_if_none:"not available" }}g/mol</td>
<td class="text-right {% status_class compound.lipinsky_mw %}" title="Molecular weight <= 500g/mol">
{% if compound.molecular_weight is not None %}
{{ compound.molecular_weight }} g/mol
{% else %}
not available
{% endif %}
</td>
<td class="table-light"></td>
<td class="table-light"></td>
</tr>
......
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