aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/populations/macro-display-population-card.html
blob: e68f8e3940077f1e5e8ca76f5736365278e0c05a (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{%from "species/macro-display-species-card.html" import display_species_card%}

{%macro display_population_card(species, population)%}
{{display_species_card(species)}}

<div class="card">
  <div class="card-body">
    <h5 class="card-title">Population</h5>
    <div class="card-text">
      <dl>
        <dt>Name</dt>
        <dd>{{population.Name}}</dd>

        <dt>Full Name</dt>
        <dd>{{population.FullName}}</dd>

        <dt>Code</dt>
        <dd>{{population.InbredSetCode}}</dd>

        <dt>Genetic Type</dt>
        <dd>{{population.GeneticType}}</dd>

        <dt>Family</dt>
        <dd>{{population.Family}}</dd>

        <dt>Description</dt>
        <dd>{{population.Description or "-"}}</dd>
      </dl>
    </div>
  </div>
</div>
{%endmacro%}