Skip to content
Snippets Groups Projects
Commit 4b0ed857 authored by Gervaise Henry's avatar Gervaise Henry 🤠
Browse files

Merge branch 'altmetric.badge' into 'develop'

Altmetric.badge

See merge request !89
parents 7b0476de 996e2917
2 merge requests!90Develop,!89Altmetric.badge
Pipeline #7963 passed with stages
in 15 seconds
......@@ -8,6 +8,7 @@ pjournal: "Curr. Mol. Med."
pdate: "2010"
odate: "2010.1"
ppubmed: "20205682"
doi: "10.2174/1566524107910653638"
plink: ""
ppic: "2010_currmolmed.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Differentiation"
pdate: "2011"
odate: "2011.1"
ppubmed: "21645960"
doi: "10.1016/j.diff.2011.05.008"
plink: ""
ppic: "2011_differentiation.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Am. J. Pathol."
pdate: "2013"
odate: "2013.2"
ppubmed: "23219716"
doi: "doi.org/10.1038/cddis.2012.99"
plink: ""
ppic: "2013_amjpathol.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Cell Death Dis."
pdate: "2013"
odate: "2013.1"
ppubmed: "22874998"
doi: "doi.org/10.1038/cddis.2012.99"
plink: ""
ppic: "2013_celldeathdis.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Prostate"
pdate: "2014"
odate: "2014.1"
ppubmed: "24500928"
doi: "10.1002/pros.22785"
plink: ""
ppic: "2014_prostate.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Differentiation"
pdate: "2016"
odate: "2016.1"
ppubmed: "26546040"
doi: "10.1016/j.diff.2015.10.013"
plink: ""
ppic: "2016_differentiation.jpg"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Cytometry"
pdate: "2017"
odate: "2017.3"
ppubmed: "28834328"
doi: "10.1002/cyto.a.23187"
plink: ""
ppic: "2017_cytometry.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Differentiation"
pdate: "2017"
odate: "2017.2"
ppubmed: "28800482"
doi: "10.1016/j.diff.2015.10.013"
plink: ""
ppic: "2017_differentiation.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Prostate"
pdate: "2017"
odate: "2017.1"
ppubmed: "28795417"
doi: "10.1002/pros.23394"
plink: ""
ppic: "2017_prostate.bmp"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Cell Reports"
pdate: "2018"
odate: "2018.1"
ppubmed: "30566875"
doi: "10.1016/j.celrep.2018.11.086"
plink: ""
ppic: "2018_cellreports.jpg"
prepo:
......
......@@ -8,6 +8,7 @@ pjournal: "Prostate"
pdate: "2020"
odate: "2020.1"
ppubmed: "32497356"
doi: "10.1002/pros.24020"
plink: ""
ppic: "2020_Prostate.jpg"
prepo:
......
......@@ -6,31 +6,35 @@
</div>
<style>
@media (min-width: 1000px) {
.column {
float: left;
}
.column {
float: left;
}
.right {
width: 100%;
}
.split {
width:50%;
}
.row:after {
content: "";
display: table;
clear: both;
}
@media (min-width: 1000px) {
.left {
width: 20%;
}
.mid {
width: 70%;
width: 60%;
}
.right {
width: 10%;
}
.badge {
text-align: right
}
.row:after {
content: "";
display: table;
clear: both;
width: 20%;
}
}
</style>
......@@ -41,33 +45,40 @@
{{ range first 10 (.Pages.ByParam "odate" ).Reverse }}
<div class="row">
<div class="column left">
<img src="images/{{.Params.ppic}}" alt="" width="100px;"
style="border:5px double black; border-radius:20%;">
<img src="images/{{.Params.ppic}}" alt="" width="100px;" style="border:5px double black; border-radius:20%;">
</div>
<div class="column mid">
<h3>{{.Params.pname}}</h3>
{{ if not (eq .Params.ppubmed "") }}
<h4><i><a href="https://www.ncbi.nlm.nih.gov/pubmed?term={{.Params.ppubmed}}" target="_blank">
{{else}}
<h4><i><a href="{{.Params.plink}}" target="_blank">
{{end}}
{{.Params.pauthor}}, {{.Params.pjournal}},{{.Params.pdate}}</a></i></h4>
</div>
<div class="column right">
<br>
<span class="__dimensions_badge_embed__" data-pmid="{{.Params.ppubmed}}" data-style="small_circle"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script>
<div class="row">
<div class="column split">
<span class="__dimensions_badge_embed__" data-pmid="{{.Params.ppubmed}}" data-style="small_circle" style="text-align: left;"></span><script async src="https://badge.dimensions.ai/badge.js" charset="utf-8"></script>
</div>
<div class="column split">
<div class='altmetric-embed' data-badge-type='donut' data-doi="{{.Params.doi}}" data-condensed="true" data-badge-popover="left" style="text-align: right;"></div><script type='text/javascript' src='https://d1bxh8uas1mnw7.cloudfront.net/assets/embed.js'></script>
</div>
</div>
</div>
</div>
{{ if not (eq .Params.ppubmed "") }}
<h4><i><a href="https://www.ncbi.nlm.nih.gov/pubmed?term={{.Params.ppubmed}}" target="_blank">
{{else}}
<h4><i><a href="{{.Params.plink}}" target="_blank">
{{end}}
{{.Params.pauthor}}, {{.Params.pjournal}},{{.Params.pdate}}</a></i></h4>
{{ range first 1 .Params.prepo }}
{{ if not (eq .title "") }}
<u>Data Repository:</u><br>
<div class="row">
{{ range first 1 .Params.prepo }}
{{ if not (eq .title "") }}
<u>Data Repository:</u><br>
{{end}}
{{end}}
{{end}}
{{ range .Params.prepo }}
{{ if not (eq .title "") }}
<a href="{{.loc}}" target="_blank">{{.title}}</a><br>
{{ range .Params.prepo }}
{{ if not (eq .title "") }}
<a href="{{.loc}}" target="_blank">{{.title}}</a><br>
{{end}}
{{end}}
{{end}}
</div>
<hr><br>
{{end}}
</div>
......
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