aboutsummaryrefslogtreecommitdiff
path: root/uploader
diff options
context:
space:
mode:
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/genotypes/base.html7
-rw-r--r--uploader/templates/phenotypes/base.html7
-rw-r--r--uploader/templates/populations/base.html6
-rw-r--r--uploader/templates/species/base.html5
4 files changed, 25 insertions, 0 deletions
diff --git a/uploader/templates/genotypes/base.html b/uploader/templates/genotypes/base.html
index 1b274bf..56819e5 100644
--- a/uploader/templates/genotypes/base.html
+++ b/uploader/templates/genotypes/base.html
@@ -6,7 +6,14 @@
{%else%}
class="breadcrumb-item"
{%endif%}>
+ {%if dataset is mapping%}
+ <a href="{{url_for('species.populations.genotypes.list_genotypes',
+ species_id=species.SpeciesId,
+ population_id=population.Id,
+ dataset_id=dataset.Id)}}">{{dataset.Name}}</a>
+ {%else%}
<a href="{{url_for('species.populations.genotypes.index')}}">Genotypes</a>
+ {%endif%}
</li>
{%block lvl4_breadcrumbs%}{%endblock%}
{%endblock%}
diff --git a/uploader/templates/phenotypes/base.html b/uploader/templates/phenotypes/base.html
index 3bc5dea..adbc012 100644
--- a/uploader/templates/phenotypes/base.html
+++ b/uploader/templates/phenotypes/base.html
@@ -6,7 +6,14 @@
{%else%}
class="breadcrumb-item"
{%endif%}>
+ {%if dataset is mapping%}
+ <a href="{{url_for('species.populations.phenotypes.view_dataset',
+ species_id=species.SpeciesId,
+ population_id=population.Id,
+ dataset_id=dataset.Id)}}">{{dataset.Name}}</a>
+ {%else%}
<a href="{{url_for('species.populations.phenotypes.index')}}">Phenotypes</a>
+ {%endif%}
</li>
{%block lvl4_breadcrumbs%}{%endblock%}
{%endblock%}
diff --git a/uploader/templates/populations/base.html b/uploader/templates/populations/base.html
index d763fc1..9db8083 100644
--- a/uploader/templates/populations/base.html
+++ b/uploader/templates/populations/base.html
@@ -6,7 +6,13 @@
{%else%}
class="breadcrumb-item"
{%endif%}>
+ {%if population is mapping%}
+ <a href="{{url_for('species.populations.view_population',
+ species_id=species.SpeciesId,
+ population_id=population.Id)}}">{{population.Name}}</a>
+ {%else%}
<a href="{{url_for('species.populations.index')}}">Populations</a>
+ {%endif%}
</li>
{%block lvl3_breadcrumbs%}{%endblock%}
{%endblock%}
diff --git a/uploader/templates/species/base.html b/uploader/templates/species/base.html
index 04391db..f64f72b 100644
--- a/uploader/templates/species/base.html
+++ b/uploader/templates/species/base.html
@@ -6,7 +6,12 @@
{%else%}
class="breadcrumb-item"
{%endif%}>
+ {%if species is mapping%}
+ <a href="{{url_for('species.view_species', species_id=species.SpeciesId)}}">
+ {{species.Name}}</a>
+ {%else%}
<a href="{{url_for('species.list_species')}}">Species</a>
+ {%endif%}
</li>
{%block lvl2_breadcrumbs%}{%endblock%}
{%endblock%}