about summary refs log tree commit diff
path: root/uploader/templates/phenotypes/base.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/phenotypes/base.html')
-rw-r--r--uploader/templates/phenotypes/base.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/base.html b/uploader/templates/phenotypes/base.html
new file mode 100644
index 0000000..adbc012
--- /dev/null
+++ b/uploader/templates/phenotypes/base.html
@@ -0,0 +1,19 @@
+{%extends "populations/base.html"%}
+
+{%block lvl3_breadcrumbs%}
+<li {%if activelink=="phenotypes"%}
+    class="breadcrumb-item active"
+    {%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%}