aboutsummaryrefslogtreecommitdiff
path: root/uploader/templates
diff options
context:
space:
mode:
Diffstat (limited to 'uploader/templates')
-rw-r--r--uploader/templates/phenotypes/view-dataset.html23
1 files changed, 13 insertions, 10 deletions
diff --git a/uploader/templates/phenotypes/view-dataset.html b/uploader/templates/phenotypes/view-dataset.html
index 219e61e..fc393d6 100644
--- a/uploader/templates/phenotypes/view-dataset.html
+++ b/uploader/templates/phenotypes/view-dataset.html
@@ -7,14 +7,15 @@
{%block pagetitle%}Phenotypes{%endblock%}
{%block lvl4_breadcrumbs%}
-<li {%if activelink=="view-datasets"%}
+<li {%if activelink=="view-dataset"%}
class="breadcrumb-item active"
{%else%}
class="breadcrumb-item"
{%endif%}>
- <a href="{{url_for('species.populations.phenotypes.view_datasets',
+ <a href="{{url_for('species.populations.phenotypes.view_dataset',
species_id=species.SpeciesId,
- population_id=population.Id)}}">View Datasets</a>
+ population_id=population.Id,
+ dataset_id=dataset.Id)}}">View Datasets</a>
</li>
{%endblock%}
@@ -49,15 +50,18 @@
<div class="row">
<h2>Phenotype Data</h2>
- <p>The dataset has the following phenotypes:</p>
+ <p>This dataset has a total of {{phenotype_count}} phenotypes.</p>
+ <p class="text-danger">
+ <span class="glyphicon glyphicon-exclamation-sign"></span>
+ Limit access here, according to the authorisation privileges the user has on
+ this dataset!</p>
<table class="table">
<thead>
<tr>
<th>#</th>
- <th>Name</th>
- <th>Full Name</th>
- <th>Short Name</th>
+ <th>Record</th>
+ <th>Description</th>
</tr>
</thead>
@@ -65,9 +69,8 @@
{%for pheno in phenotypes%}
<tr>
<td>{{pheno.sequence_number}}</td>
- <td>{{pheno.Id}}</td>
- <td>{{pheno.FullName}}</td>
- <td>{{pheno.ShortName}}</td>
+ <td>{{pheno.InbredSetCode}}_{{pheno["pxr.Id"]}}</td>
+ <td>{{pheno.Post_publication_description or pheno.Pre_publication_abbreviation or pheno.Original_description}}</td>
</tr>
{%else%}
<tr><td colspan="5"></td></tr>