Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
StrandLab2.net
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Strand Lab
StrandLab2.net
Merge requests
!79
Add dimensions badge to publications
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add dimensions badge to publications
dimensions.branch
into
develop
Overview
0
Commits
1
Pipelines
2
Changes
1
Merged
Gervaise Henry
requested to merge
dimensions.branch
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
2
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
0e4855b4
1 commit,
4 years ago
1 file
+
34
−
25
Expand all files
Preferences
File browser
List view
Tree view
Compare changes
Inline
Side-by-side
Show whitespace changes
Show one file at a time
layouts/custom/publications.html
+
34
−
25
Options
@@ -15,8 +15,12 @@
@@ -15,8 +15,12 @@
width
:
25%
;
width
:
25%
;
}
}
.mid
{
width
:
50%
;
}
.right
{
.right
{
width
:
7
5%
;
width
:
2
5%
;
}
}
.row
:after
{
.row
:after
{
@@ -31,34 +35,39 @@
@@ -31,34 +35,39 @@
<br>
<br>
<div>
<div>
{{ range first 10 (.Pages.ByParam "odate" ).Reverse }}
{{ range first 10 (.Pages.ByParam "odate" ).Reverse }}
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"column left"
>
<div
class=
"column left"
>
<img
src=
"images/{{.Params.ppic}}"
alt=
""
width=
"100px;"
<img
src=
"images/{{.Params.ppic}}"
alt=
""
width=
"100px;"
style=
"border:5px double black; border-radius:20%;"
>
style=
"border:5px double black; border-radius:20%;"
>
</div>
</div>
<div
class=
"column right"
>
<div
class=
"column mid"
>
<h3>
{{.Params.pname}}
</h3>
<h3>
{{.Params.pname}}
</h3>
</div>
<div
class=
"column right"
>
<br>
<span
class=
"__dimensions_badge_embed__"
data-pmid=
"{{.Params.ppubmed}}"
data-legend=
"hover-right"
data-style=
"small_circle"
></span>
</div>
</div>
</div>
</div>
{{ if not (eq .Params.ppubmed "") }}
{{ if not (eq .Params.ppubmed "") }}
<h4><i><a
href=
"https://www.ncbi.nlm.nih.gov/pubmed?term={{.Params.ppubmed}}"
target=
"_blank"
>
<h4><i><a
href=
"https://www.ncbi.nlm.nih.gov/pubmed?term={{.Params.ppubmed}}"
target=
"_blank"
>
{{else}}
{{else}}
<h4><i><a
href=
"{{.Params.plink}}"
target=
"_blank"
>
<h4><i><a
href=
"{{.Params.plink}}"
target=
"_blank"
>
{{end}}
{{end}}
{{.Params.pauthor}}, {{.Params.pjournal}},{{.Params.pdate}}
</a></i></h4>
{{.Params.pauthor}}, {{.Params.pjournal}},{{.Params.pdate}}
</a></i></h4>
{{ range first 1 .Params.prepo }}
{{ range first 1 .Params.prepo }}
{{ if not (eq .title "") }}
{{ if not (eq .title "") }}
<u>
Data Repository:
</u><br>
<u>
Data Repository:
</u><br>
{{end}}
{{end}}
{{end}}
{{end}}
{{ range .Params.prepo }}
{{ range .Params.prepo }}
{{ if not (eq .title "") }}
{{ if not (eq .title "") }}
<a
href=
"{{.loc}}"
target=
"_blank"
>
{{.title}}
</a><br>
<a
href=
"{{.loc}}"
target=
"_blank"
>
{{.title}}
</a><br>
{{end}}
{{end}}
{{end}}
{{end}}
<hr><br>
<hr><br>
{{end}}
{{end}}
</div>
</div>
</div>
</div>
<script
async
src=
"https://badge.dimensions.ai/badge.js"
charset=
"utf-8"
></script>
{{ partial "footer.html" . }}
{{ partial "footer.html" . }}
\ No newline at end of file