{% from 'plasmids/form.html' import plasmid_add_form %} {% from 'plasmids/form.html' import upload_plasmid_form %} {% from 'files/macros/lightbox.html' import lightbox %} {% macro pane_details(status, pane_id, plasmid, form) %}
Database ID | {{ plasmid.id }} |
Added | {{ plasmid.timestamp_created | format_datetime }} |
Label | {{ plasmid.label }} |
Owner | {{ plasmid.owner.username }} |
Cloning date | {{ plasmid.cloning_date }} |
Insert | {{ plasmid.insert }} |
Vector | {{ plasmid.vector }} |
File | {% if plasmid.file_plasmid_id %} {{ plasmid.file.filename_exposed }} {% endif %} |
Map | {% if plasmid.file_map_id %} {{ lightbox(plasmid.map) }} {% endif %} |
Storage place | {{ plasmid.storage_place }} |
Glycerol stock(s) | {% if plasmid.stocks %}Yes ({{ plasmid.stocks|length }}){% else %}No{% endif %} |
Length | {{ plasmid|length }} |
Current plasmid file | |
Reference | {{ plasmid.reference }} |
{{ plasmid.description }}
{% endif %}