[Blends-commit] [SCM] website branch, master, updated. ab2b34307f739ff45fd595996ce01e73b75b2e9d
Ole Streicher
ole at aip.de
Fri Mar 4 13:02:47 UTC 2016
The following commit has been merged in the master branch:
commit ab2b34307f739ff45fd595996ce01e73b75b2e9d
Author: Ole Streicher <ole at aip.de>
Date: Fri Mar 4 14:01:16 2016 +0100
Move eprint to the end of the publication entry
diff --git a/webtools/templates/packages.xhtml b/webtools/templates/packages.xhtml
index 16c4221..e84465f 100644
--- a/webtools/templates/packages.xhtml
+++ b/webtools/templates/packages.xhtml
@@ -394,8 +394,7 @@ function show_fulldesc(hash) {
<py:choose>
<py:when test="'title' in project.properties['published']">
<a href="http://dx.doi.org/${project.properties['published']['doi']}">
- ${project.properties['published']['title']}.
- </a>
+ ${project.properties['published']['title']}.</a>
</py:when>
<py:otherwise>
<a href="http://dx.doi.org/${project.properties['published']['doi']}">
@@ -405,15 +404,15 @@ function show_fulldesc(hash) {
</py:when>
<py:otherwise>
<py:if test="'title' in project.properties['published']">
- ${project.properties['published']['title']}
+ ${project.properties['published']['title']}.
</py:if>
</py:otherwise>
</py:choose>
- <py:if test="'pubmed' in project.properties['published']">
- (<a href="http://www.ncbi.nlm.nih.gov/pubmed/${project.properties['published']['pubmed']}">PubMed</a></py:if><py:if test="'pubmed' in project.properties['published'] and 'eprint' in project.properties['published']">,</py:if><py:if test="'pubmed' not in project.properties['published'] and 'eprint' in project.properties['published']">(</py:if><py:if test="'eprint' in project.properties['published']"><a href="${project.properties['published']['eprint']}">eprint</a></py:if><py:if test="'pubmed' in project.properties['published'] or 'eprint' in project.properties['published']">)</py:if>
<py:if test="'journal' in project.properties['published']">${project.properties['published']['journal']}</py:if>
<py:if test="'volume' in project.properties['published']">${project.properties['published']['volume']}</py:if><py:if test="'number' in project.properties['published']">(${project.properties['published']['number']})</py:if><py:if test="'pages' in project.properties['published']">:${project.properties['published']['pages']}</py:if>
<py:if test="'year' in project.properties['published']">(${project.properties['published']['year']})</py:if>
+ <py:if test="'pubmed' in project.properties['published']">
+ (<a href="http://www.ncbi.nlm.nih.gov/pubmed/${project.properties['published']['pubmed']}">PubMed</a></py:if><py:if test="'pubmed' in project.properties['published'] and 'eprint' in project.properties['published']">,</py:if><py:if test="'pubmed' not in project.properties['published'] and 'eprint' in project.properties['published']">(</py:if><py:if test="'eprint' in project.properties['published']"><a href="${project.properties['published']['eprint']}">eprint</a></py:if><py:if test="'pubmed' in project.properties['published'] or 'eprint' in project.properties['published']">)</py:if>
</li>
<py:if test="project.properties.get('ascl_id')">
<li>
--
Static and dynamic websites for Debian Pure Blends
More information about the Blends-commit
mailing list