Commit c01b5b6e authored by Albert Hornos Vidal's avatar Albert Hornos Vidal
Browse files

feat: modify viral genomics table from ena

parent d7f0ec8e
......@@ -300,3 +300,6 @@ other = "Region"
[website_code]
other = "Website code on BSC GitLab"
[description]
other = "Description"
......@@ -16,7 +16,7 @@
<th scope="col">{{ i18n "country" }}</th>
<th scope="col">{{ i18n "host" }}</th>
<th scope="col">{{ i18n "isolate" }}</th>
<th scope="col">{{ i18n "molecule_type" }}</th>
<th scope="col">{{ i18n "description" }}</th>
<th scope="col">{{ i18n "taxon" }}</th>
</tr>
</thead>
......@@ -24,12 +24,11 @@
{{ range $index, $entry := $.Site.Data.c19dpes_genomics_viral_sequences.viral_sequences }}
<tr>
<td><a target="_blank" href='{{print "https://www.ebi.ac.uk/ena/browser/view/" .accession_id}}'>{{ .accession_id }}</a></td>
{{ $col_date := print (substr .collection_date 0 4) "-" (substr .collection_date 4 2) "-" (substr .collection_date 6 2)}}
<td>{{ dateFormat "Jan 2, 2006" $col_date }}</td>
<td>{{ .collection_date }}</td>
<td>{{ .country }}</td>
<td>{{ .host }}</td>
<td>{{ .isolate }}</td>
<td>{{ .molecule_type }}</td>
<td>{{ .description }}</td>
<td>{{ .taxon }}</td>
</tr>
{{ end }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment