<commit_before>{% extends "botanycollection/base.html" %}

{% block headextra %}
<link rel="stylesheet" type="text/css" href="/static/adgallery/lib/jquery.ad-gallery.css">
<style>

.ad-gallery .ad-image-wrapper .ad-image {overflow: visible;}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {position: static;}
.ad-gallery { width: 484px; }
.ad-gallery .ad-image-wrapper { height: 312px; }
</style>
{% endblock headextra %}
{% load thumbnail %}
{% block content %}
  <div class="row">
    <div class="span12">
{% if user.is_staff %}
<div style="float:right;font-size: 80%;">
  <a href="{% url admin:botanycollection_accession_change object.id %}">Admin</a>
</div>
{% endif %}

        <h2>{{ object.family }} > {{object.genus}} > {{object.species}}</h2>

        <div class="row">
            <div class="span3">
                <dl class="dl-horizontal">
                    <dt>Accession No.</dt>
                    <dd>{{object.uq_accession }}</dd>

                    <dt>Plant part</dt>
                    <dd>{{object.genus}}</dd>

                    <dt>State</dt>
                    <dd>{{object.preservation_state}}</dd>

                    <dt>Common name</dt>
                    <dd>{{object.common_name}}</dd>

                    <dt>Plant type</dt>
                    <dd></dd>

                    <dt>Country</dt>
                    <dd>{{object.country}}</dd>

                    <dt>Related accession</dt>
                    <dd>{{object.related_accession}}</dd>

                    <dt>Notes</dt>
                    <dd>{{object.location_notes}}</dd>


                </dl>
            </div>
            <div class="span7">
<div class="ad-gallery">
  <div class="ad-image-wrapper">
  </div>
  <div class="ad-controls">
  </div><commit_msg>Lots of neatening on the accession detail page<commit_after>{% extends "botanycollection/base.html" %}

{% block headextra %}
<link rel="stylesheet" type="text/css" href="/static/adgallery/lib/jquery.ad-gallery.css">
<style>

.ad-gallery .ad-image-wrapper .ad-image {overflow: visible;}
.ad-gallery .ad-image-wrapper .ad-image .ad-image-description {position: static;}
.ad-gallery { width: 484px; }
.ad-gallery .ad-image-wrapper { height: 312px; }
</style>
{% endblock headextra %}
{% load thumbnail %}
{% block content %}
  <div class="row">
    <div class="span12">
{% if user.is_staff %}
<div style="float:right;font-size: 80%;">
  <a href="{% url admin:botanycollection_accession_change object.id %}">Admin</a>
</div>
{% endif %}

        <h2>{{ object.family }} > {{object.species}}</h2>

        <div class="row">
            <div class="span3">
                <h3>Accession details</h3>
                <dl class="dl-horizontal">
                    <dt>UQ Accession No.</dt>
                    <dd>{{object.uq_accession }}</dd>

{% if object.material %}
                    <dt>Material</dt>
                    <dd>{{ object.material }}</dd>
{% endif %}

{% if object.source %}
                    <dt>Source</dt>
                    <dd>{{ object.source }}</dd>
{% endif %}

{% if object.preservation_state %}
                    <dt>State</dt>
                    <dd>{{object.preservation_state}}</dd>
{% endif %}

{% if object.family %}
                    <dt>Family</dt>
                    <dd>{{ object.family }}</dd>
{% endif %}

{% if object.species %}
                    <dt>Species</dt>
                    <dd>{{ object.species }}</dd>
{% endif %}

{% if object.contributor %}
                    <dt>Contributor</dt>
                    <dd>{{object.contributor}}</dd>
{% endif %}

{% if object.common_name %}
                    <dt>Common name</dt>
                    <dd>{{object.common_name}}</dd>
{% endif %}

{% if object.id_level_flag %}
                    <dt>ID level flag</dt>
                    <dd>{{ object.id_level_flag }}</dd>
{% endif %}

{% if object.related_accession %}
                    <dt>Related accession</dt>
                    <dd>{{object.related_accession}}</dd>
{% endif %}
                </dl>

                <h3>Location details</h3>
                <dl>
{% if object.country %}
                    <dt>Country</dt>
                    <dd>{{ object.country }}</dd>
{% endif %}

{% if object.site_name %}
                    <dt>Site name</dt>
                    <dd>{{object.site_name}}</dd>
{% endif %}

{% if object.lat_long %}
                    <dt>Geographical coordinates</dt>
                    <dd>{{object.lat_long}}</dd>
{% endif %}

{% if object.altitude %}
                    <dt>Altitude</dt>
                    <dd>{{ object.altitude }}</dd>
{% endif %}

{% if object.location_notes %}
                    <dt>Location notes</dt>
                    <dd>{{object.location_notes}}</dd>
{% endif %}
                </dl>

            </div>
            <div class="span7">
<div class="ad-gallery">
  <div class="ad-image-wrapper">
  </div>
  <div class="ad-controls">
  </div>
{'fraction_non_alphanumeric': 0.18216740800646988, 'fraction_numerical': 0.00646987464617873, 'mean_word_length': 1.7792134831460673, 'pattern_counts': {'":': 0, '<': 145, '<?xml version=': 0, '>': 148, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6890403', 'n_tokens_mistral': 1706, 'n_tokens_neox': 1458, 'n_words': 277}