Commit 06afe318 authored by Albert Hornos Vidal's avatar Albert Hornos Vidal
Browse files

feat: add EGA related publications

parent 39559aea
This diff is collapsed.
...@@ -53,7 +53,8 @@ other = "COVID-19 ISCIII's funded projects variables" ...@@ -53,7 +53,8 @@ other = "COVID-19 ISCIII's funded projects variables"
other = "Read more" other = "Read more"
[publication] [publication]
other = "Publication" one = "Publication"
other = "Publications"
[download_csv] [download_csv]
other = "Download as CSV" other = "Download as CSV"
...@@ -290,8 +291,12 @@ other="Study title" ...@@ -290,8 +291,12 @@ other="Study title"
other="Number of datasets" other="Number of datasets"
["datasets"] ["datasets"]
one="Dataset"
other="Datasets" other="Datasets"
["pubmed_id"]
other="PubMed ID"
[collection_date] [collection_date]
other = "Collection date" other = "Collection date"
......
...@@ -82,42 +82,42 @@ ...@@ -82,42 +82,42 @@
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>Eighth report</td> <td>8th report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={9F445038-C721-459F-9E90-CACF00FCC72E}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={9F445038-C721-459F-9E90-CACF00FCC72E}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-8-final.pdf?la=da&hash=ED6ECE05BFE6D0AD51B00EBB7E7A322F37BF8471">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-8-final.pdf?la=da&hash=ED6ECE05BFE6D0AD51B00EBB7E7A322F37BF8471">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Seventh report</td> <td>7th report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={F636F235-DE3E-4BCC-8772-068017100945}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={F636F235-DE3E-4BCC-8772-068017100945}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-7-final.pdf?la=da&hash=9571234B1BA6CC166DC2B20C99A403E1C0156710">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-7-final.pdf?la=da&hash=9571234B1BA6CC166DC2B20C99A403E1C0156710">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Sixth report</td> <td>6th report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={0AB6C30A-4CED-4F71-88D6-058998C2673E}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={0AB6C30A-4CED-4F71-88D6-058998C2673E}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-6-final.pdf?la=da&hash=38280825E8C0274822FC35DAD0B658939A13DB5A">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-6-final.pdf?la=da&hash=38280825E8C0274822FC35DAD0B658939A13DB5A">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Fifth report</td> <td>5th report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={B114E6E9-F4D4-4900-BDD4-2C2E546C0EA5}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={B114E6E9-F4D4-4900-BDD4-2C2E546C0EA5}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-5-final.pdf?la=da&hash=8A01A87944E2E4D4DC0665968DFB9AD5673E7BFA">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-5-final.pdf?la=da&hash=8A01A87944E2E4D4DC0665968DFB9AD5673E7BFA">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Fourth report</td> <td>4th report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={F96C565D-D211-4BC3-A751-7330ED55CDB3}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={F96C565D-D211-4BC3-A751-7330ED55CDB3}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-4-final.pdf?la=da&hash=1120416E0F29FC5209AC1E4BAB027E766FC6D576">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-4-final.pdf?la=da&hash=1120416E0F29FC5209AC1E4BAB027E766FC6D576">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Third report</td> <td>3rd report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={E4321352-62C6-47A8-9977-EF88DA13A481}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={E4321352-62C6-47A8-9977-EF88DA13A481}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-3-final.pdf?la=da&hash=FB7DFC9E426B97A92EAFA516F85CFDF8D0B04B4A">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-3-final.pdf?la=da&hash=FB7DFC9E426B97A92EAFA516F85CFDF8D0B04B4A">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>Second report</td> <td>2nd report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={295B1E0E-FB34-4ADA-B8DB-17C125B12971}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={295B1E0E-FB34-4ADA-B8DB-17C125B12971}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-2-final.pdf?la=da&hash=04C7DECB4B7713D44CE13CC31BCD7D1BBD68A391">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-2-final.pdf?la=da&hash=04C7DECB4B7713D44CE13CC31BCD7D1BBD68A391">Download report</a></td>
</tr> </tr>
<tr> <tr>
<td>First report</td> <td>1st report</td>
<td><a href="https://www.veo-europe.eu/news/Nyhed?id={C8603A16-8104-475E-9E6B-985BCCB67136}" target="_blank">News</a></td> <td><a href="https://www.veo-europe.eu/news/Nyhed?id={C8603A16-8104-475E-9E6B-985BCCB67136}" target="_blank">News</a></td>
<td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-v02.pdf?la=da&hash=C20457CBD60493484B3E0F799DC2384FECE724F3">Download report</a></td> <td><a href="https://www.veo-europe.eu/-/media/sites/veo-europe/library/veo-covid-19-variants-report-v02.pdf?la=da&hash=C20457CBD60493484B3E0F799DC2384FECE724F3">Download report</a></td>
</tr> </tr>
......
...@@ -30,31 +30,61 @@ These results are periodically manually retrieved from EGA. ...@@ -30,31 +30,61 @@ These results are periodically manually retrieved from EGA.
<td class="col-md-10"> <td class="col-md-10">
{{ .study_title }} {{ .study_title }}
{{ if .datasets }} {{ if .datasets }}
<br/><a class="badge badge-primary dp-background-color--primary" data-toggle="collapse" href="#datasets{{ $index }}" role="button" aria-expanded="false" aria-controls="datasets{{ $index }}"> <br/>
{{ len .datasets }} {{ i18n "datasets" }} <i class="bi bi-caret-down-fill"></i> <a class="badge badge-primary dp-background-color--primary" data-toggle="collapse" href="#datasets{{ $index }}" role="button" aria-expanded="false" aria-controls="datasets{{ $index }}">
</a> {{ len .datasets }} {{ i18n "datasets" (len .datasets)}} <i class="bi bi-caret-down-fill"></i>
<div class="collapse" id="datasets{{ $index }}"> </a>
<div class="card card-body"> <div class="collapse" id="datasets{{ $index }}">
<table class="table table-hover table-sm"> <div class="card card-body">
<thead> <table class="table table-hover table-sm">
<th class="col-md-3">{{ i18n "accession_id" }}</th> <thead>
<th class="col-md-9">{{ i18n "title" }}</th> <th class="col-md-3">{{ i18n "accession_id" }}</th>
</thead> <th class="col-md-9">{{ i18n "title" }}</th>
<tbody> </thead>
{{ range $ds := .datasets}} <tbody>
<tr> {{ range $ds := .datasets}}
<td class="col-md-3"> <tr>
<a href='{{print "https://ega-archive.org/datasets/" .dataset_accession}}'>{{ .dataset_accession }}</a> <td class="col-md-3">
</td> <a href='{{print "https://ega-archive.org/datasets/" .dataset_accession}}'>{{ .dataset_accession }}</a>
<td class="col-md-9"> </td>
{{ .dataset_title }} <td class="col-md-9">
</td> {{ .dataset_title }}
</tr> </td>
{{ end }} </tr>
</tbody> {{ end }}
</table> </tbody>
</table>
</div>
</div> </div>
</div>
{{ if .publications}}
<a class="badge badge-success dp-background-color--success ml-3" data-toggle="collapse" href="#publications{{ $index }}" role="button" aria-expanded="false" aria-controls="publications{{ $index }}">
{{ len .publications }} {{ i18n "publication" (len .publications)}} <i class="bi bi-caret-down-fill"></i>
</a>
<div class="collapse" id="publications{{ $index }}">
<div class="card card-body">
<table class="table table-hover table-sm">
<thead>
<th class="col-md-3">{{ i18n "pubmed_id" }}</th>
<th class="col-md-9">{{ i18n "title" }}</th>
</thead>
<tbody>
{{ range $p := .publications}}
<tr>
<td class="col-md-3">
<a href='{{print "https://pubmed.ncbi.nlm.nih.gov/" .pubmed_id}}'>{{ .pubmed_id }}</a>
</td>
<td class="col-md-9">
{{ .article_title }}
</td>
</tr>
{{ end }}
</tbody>
</table>
</div>
</div>
{{ end }}
{{ end }} {{ end }}
</td> </td>
</tr> </tr>
......
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