[HepData-svn] r1779 - trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Apr 15 12:56:24 BST 2014


Author: whalley
Date: Tue Apr 15 12:56:24 2014
New Revision: 1779

Log:
adding DOI journal link to permalinks

Modified:
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Tue Apr 15 12:52:52 2014	(r1778)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Tue Apr 15 12:56:24 2014	(r1779)
@@ -87,17 +87,27 @@
     This record has multiple parts:
     <p/>  
     <t:if test="haveMultiple2"> 
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the first part of this record</b></a> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the 1st part of this record</b></a> 
     <br/>
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context"><b>Go to the second part of this record</b></a> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context"><b>Go to the 2nd part of this record</b></a> 
     <br/>
     </t:if>
     <t:if test="haveMultiple3"> 
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the first part of this record</b></a> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the 1st part of this record</b></a> 
     <br/>
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context"><b>Go to the second part of this record</b></a> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context"><b>Go to the 2nd part of this record</b></a> 
     <br/>
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper3Context"><b>Go to the third part of this record</b></a> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper3Context"><b>Go to the 3rd part of this record</b></a> 
+    <br/>
+    </t:if>
+    <t:if test="haveMultiple4"> 
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the 1st part of this record</b></a> 
+    <br/>
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context"><b>Go to the 2nd part of this record</b></a> 
+    <br/>
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper3Context"><b>Go to the 3rd part of this record</b></a> 
+    <br/>
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper4Context"><b>Go to the 4th part of this record</b></a> 
     <br/>
     </t:if>
    </font>
@@ -162,14 +172,20 @@
           <br/>
         </t:if>
         <t:if test="paper.cdsId">
-	  Record in:
+	      Record in:
           <a href=" http://cds.cern.ch/record/${paper.cdsId}"><b>CERN Document Server</b></a>
-	  <br/>
         </t:if>
         <t:if test="paper.haveRivet">
           Rivet Analysis: 
         <a href="http://projects.hepforge.org/rivet/analyses#${paper.rivetName}"><b>${paper.rivetName}</b></a>        
        </t:if>
+      <br/>
+<!--
+          Version:${paper.version}
+          <t:if test="isLatestVersion">
+          (Latest)
+          </t:if>
+-->
        </p>
 
       <div class="papercomments">
@@ -367,6 +383,9 @@
     <t:if test="paper.cdsId">      
     | <a href="#" t:type="pagelink" t:page="view" t:context="CdsContext">by CDS ID</a>
     </t:if>
+    <t:if test="paper.DOI">   
+    | <a href="http://hepdata.cedar.ac.uk/doidata/${paper.DOI}">by (journal) DOI</a>
+   </t:if>
     <br/>
    (Reaction db ID=${paper.id}, RED=${paper.redid})
     <br/>


More information about the HepData-svn mailing list