about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-02-11 12:50:03 -0600
committerFrederick Muriuki Muriithi2026-02-11 12:50:03 -0600
commit1e1fa46819f85113cbed2d6d4b220025b73c8bda (patch)
treec36d278877d300ff30185e888faf4d9896f3263a
parent106a9345b142450bec2f333d9e8f51af878ccd57 (diff)
downloadgn-uploader-1e1fa46819f85113cbed2d6d4b220025b73c8bda.tar.gz
Optionally render breadcrumb if no dataset defined yet. HEAD main
-rw-r--r--uploader/templates/phenotypes/base.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/uploader/templates/phenotypes/base.html b/uploader/templates/phenotypes/base.html
index fe7ccd3..5959422 100644
--- a/uploader/templates/phenotypes/base.html
+++ b/uploader/templates/phenotypes/base.html
@@ -3,6 +3,7 @@
 
 {%block breadcrumbs%}
 {{super()}}
+{%if dataset%}
 <li class="breadcrumb-item">
   <a href="{{url_for('species.populations.phenotypes.view_dataset',
            species_id=species['SpeciesId'],
@@ -11,6 +12,7 @@
     {{dataset["Name"]}}
   </a>
 </li>
+{%endif%}
 {%endblock%}
 
 {%block contents%}