about summary refs log tree commit diff
path: root/uploader
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2026-03-17 14:24:04 -0500
committerFrederick Muriuki Muriithi2026-03-17 14:24:04 -0500
commit7ace218d64845fcb09dd377562d12c99c2987ea4 (patch)
tree8c7e0de4477ee47a0102b9398d05a74d184b6305 /uploader
parentf3d583756b6ef74f8431f8f799b90505eaa1ff77 (diff)
downloadgn-uploader-7ace218d64845fcb09dd377562d12c99c2987ea4.tar.gz
Species: Improve UI text, and fix minor bug.
Diffstat (limited to 'uploader')
-rw-r--r--uploader/templates/index.html2
-rw-r--r--uploader/templates/species/base.html2
2 files changed, 3 insertions, 1 deletions
diff --git a/uploader/templates/index.html b/uploader/templates/index.html
index b45b61c..4b15eb1 100644
--- a/uploader/templates/index.html
+++ b/uploader/templates/index.html
@@ -20,7 +20,7 @@
   <div class="col">
     <a href="{{url_for('species.create_species', return_to='base.index')}}"
        class="btn btn-outline-primary"
-       title="Create a new species.">Create a new Species</a>
+       title="Add a new species to Genenetwork.">add a new Species</a>
   </div>
 </div>
 {%endmacro%}
diff --git a/uploader/templates/species/base.html b/uploader/templates/species/base.html
index a7c1a8f..3be79f0 100644
--- a/uploader/templates/species/base.html
+++ b/uploader/templates/species/base.html
@@ -2,9 +2,11 @@
 
 {%block breadcrumbs%}
 {{super()}}
+{%if species%}
 <li class="breadcrumb-item">
   <a href="{{url_for('species.view_species', species_id=species['SpeciesId'])}}">
     {{species["Name"]|title}}
   </a>
 </li>
+{%endif%}
 {%endblock%}