about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-17 15:00:05 -0500
committerFrederick Muriuki Muriithi2024-09-17 15:00:44 -0500
commit1939b6728843aec2ab6fb1f56f2dcb72bb3e23dd (patch)
tree83a06db5894d46a830bb5c66ad4dfc1d28040042
parent4c00c949cc52aa4cc2a38cf442ffb6e135f58306 (diff)
downloadgn-uploader-1939b6728843aec2ab6fb1f56f2dcb72bb3e23dd.tar.gz
UI Improvements: Move genotypes below populations.
-rw-r--r--uploader/templates/populations/view-population.html6
-rw-r--r--uploader/templates/species/view-species.html5
2 files changed, 6 insertions, 5 deletions
diff --git a/uploader/templates/populations/view-population.html b/uploader/templates/populations/view-population.html
index 319addc..1e2964e 100644
--- a/uploader/templates/populations/view-population.html
+++ b/uploader/templates/populations/view-population.html
@@ -62,6 +62,12 @@
   <nav class="nav">
     <ul>
       <li>
+        <a href="{{url_for('species.populations.genotypes.list_genotypes',
+                 species_id=species.SpeciesId,
+                 population_id=population.Id)}}"
+           title="Upload genotypes for {{species.FullName}}">Upload Genotypes</a>
+      </li>
+      <li>
         <a href="{{url_for('species.populations.samples.list_samples',
                  species_id=species.SpeciesId,
                  population_id=population.Id)}}"
diff --git a/uploader/templates/species/view-species.html b/uploader/templates/species/view-species.html
index 6942168..b01864d 100644
--- a/uploader/templates/species/view-species.html
+++ b/uploader/templates/species/view-species.html
@@ -40,16 +40,11 @@
 
   <ol>
     <li>
-      <a href="#"
-         title="Upload genotypes for {{species.FullName}}">Upload Genotypes</a>
-    </li>
-    <li>
       <a href="{{url_for('species.populations.list_species_populations',
                species_id=species.SpeciesId)}}"
          title="Create/Edit populations for {{species.FullName}}">
         Manage populations</a>
     </li>
-    <li><a href="#" title="">any other action, perhaps &hellip;</a></li>
   </ol>