[Blends-commit] [SCM] website branch, master, updated. f56a69d6df11c88bb07c05c394b5245d9de77549

Andreas Tille tille at debian.org
Thu Oct 19 09:41:20 UTC 2017


The following commit has been merged in the master branch:
commit dc546c7c49e185db624567cf51da7abd7cfbc2bb
Author: Andreas Tille <tille at debian.org>
Date:   Thu Oct 19 10:51:19 2017 +0200

    Better layout

diff --git a/webtools/templates/tasks.xhtml b/webtools/templates/tasks.xhtml
index 0738afe..7db715f 100644
--- a/webtools/templates/tasks.xhtml
+++ b/webtools/templates/tasks.xhtml
@@ -195,27 +195,30 @@
 	       <span class="journal" py:if="'volume' in project.properties['published']">${project.properties['published']['volume']}</span><span class="journal" py:if="'number' in project.properties['published']">(${project.properties['published']['number']})</span><span class="journal" py:if="'pages' in project.properties['published']">:${project.properties['published']['pages']}</span>
 	       <span class="year" py:if="'year' in project.properties['published']">(${project.properties['published']['year']})</span>
 	     </div>
-	     <div class="published">
+             <div py:choose="">
+	      <div class="registry" py:when="'biotools' in project.properties or 'scicrunch' in project.properties or 'rrid' in project.properties or 'omictools' in project.properties">
+	       Registry entries:
 	       <span py:choose="">
-	        <span
-                   py:when="'biotools' in project.properties"><a href="https://bio.tools/${project.properties['biotools']}">Biotools:${project.properties['biotools']}</a>
-                </span>
+	        <span class="registry_biotools"
+                   py:when="'biotools' in project.properties"><a href="https://bio.tools/${project.properties['biotools']}">Biotools</a>
+                </span> 
                </span>
                <span py:choose="">
-                <span
-                   py:when="'scicrunch' in project.properties"><a href="http://identifiers.org/rrid/RRID:${project.properties['scicrunch']}">SciCrunch:${project.properties['scicrunch']}</a>
-                </span>
+                <span class="registry_scicrunch"
+                   py:when="'scicrunch' in project.properties"><a href="http://identifiers.org/rrid/RRID:${project.properties['scicrunch']}">SciCrunch</a>
+                </span> 
                </span>
                <span py:choose="">
-                <span
-                   py:when="'rrid' in project.properties"><a href="http://identifiers.org/rrid/RRID:${project.properties['rrid']}">RRID:${project.properties['rrid']}</a>
-                </span>
+                <span class="registry_scicrunch"
+                   py:when="'rrid' in project.properties"><a href="http://identifiers.org/rrid/RRID:${project.properties['rrid']}">RRID</a>
+                </span> 
                </span>
                <span py:choose="">
-                <span
-                   py:when="'omictools' in project.properties"><a href="https://duckduckgo.com/?q=\site%3Aomictools.com+${project.properties['omictools']}">OMICtools:${project.properties['omictools']}</a>
-                </span>
+                <span class="registry_omictools"
+                   py:when="'omictools' in project.properties"><a href="https://duckduckgo.com/?q=\site%3Aomictools.com+${project.properties['omictools']}">OMICtools</a>
+                </span> 
                </span>
+              </div>
              </div>
 	   </td>
 	   <td py:if="project.properties['component'] == 'main'

-- 
Static and dynamic websites for Debian Pure Blends



More information about the Blends-commit mailing list