aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates/samples/list-samples.html
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates/samples/list-samples.html')
-rw-r--r--uploader/templates/samples/list-samples.html36
1 files changed, 17 insertions, 19 deletions
diff --git a/uploader/templates/samples/list-samples.html b/uploader/templates/samples/list-samples.html
index 185e784..aed27c3 100644
--- a/uploader/templates/samples/list-samples.html
+++ b/uploader/templates/samples/list-samples.html
@@ -29,6 +29,19 @@
</p>
</div>
+<div class="row">
+ <p>
+ <a href="{{url_for('species.populations.samples.upload_samples',
+ species_id=species.SpeciesId,
+ population_id=population.Id)}}"
+ title="Add samples for population '{{population.FullName}}' from species
+ '{{species.FullName}}'."
+ class="btn btn-primary">
+ add samples
+ </a>
+ </p>
+</div>
+
{%if samples | length > 0%}
<div class="row">
<p>
@@ -96,32 +109,17 @@
<p>
<a href="#"
- title="Add samples for population '{{population.FullName}}' from species
+ title="Delete samples from population '{{population.FullName}}' from species
'{{species.FullName}}'."
- class="btn btn-danger">
+ class="btn btn-danger not-implemented">
delete all samples
</a>
</p>
</div>
-
{%else%}
-
<div class="row">
- <p>
- There are no samples entered for this population. Do please go ahead and add
- the samples for this population by clicking on the button below.
- </p>
-
- <p>
- <a href="{{url_for('species.populations.samples.upload_samples',
- species_id=species.SpeciesId,
- population_id=population.Id)}}"
- title="Add samples for population '{{population.FullName}}' from species
- '{{species.FullName}}'."
- class="btn btn-primary">
- add samples
- </a>
- </p>
+ <p>There are no samples entered for this population. Click the "Add Samples"
+ button above, to add some new samples.</p>
</div>
{%endif%}