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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Feb 17 09:36:36 GMT 2015


Author: whalley
Date: Tue Feb 17 09:36:36 2015
New Revision: 1845

Log:
update ViewTable to display InspireId

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

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml	Wed Feb 11 11:07:15 2015	(r1844)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/ViewTable.tml	Tue Feb 17 09:36:36 2015	(r1845)
@@ -8,12 +8,13 @@
     <div class="">
       <h3 class="papertitle">
 <!--        <a href="#" t:type="pagelink" t:page="view" t:context="paperContext">${paper.shortName}</a> -->
-       <a href="http://hepdata.cedar.ac.uk/view/irn${paper.spiresid}"> ${paper.shortName} </a>
+       <a href="http://hepdata.cedar.ac.uk/view/ins${paper.inspireid}"> ${paper.shortName} </a>
         <br/> ${paper.title}
       </h3>
 
         Experiment:
-        <a href="http://slac.stanford.edu/cgi-bin/spiface/experiments/www2?fin+expt+${paper.experimentName}">
+<!--        <a href="http://slac.stanford.edu/cgi-bin/spiface/experiments/www2?fin+expt+${paper.experimentName}"> -->
+        <a href="http://inspirehep.net/search?ln=en&cc=Experiments&p=119__a:${paper.experimentName}&of=hd" title="View ${paper.experimentname} entry in INSPIRE experiments database">
           <b>${paper.experimentName} (${paper.informalName})</b></a>
         <br/>
         <t:if test="paper.firstPublished">
@@ -28,15 +29,16 @@
           Archived as <b>${paper.archive}</b> 
           <br/>
         </t:if>
-        <t:if test="paper.spiresId">
-          Spires ID (IRN): <b>${paper.spiresId}</b>
-          <a href="http://slac.stanford.edu/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">(View)</a> 
+        <t:if test="paper.inspireId">
+          Inspire ID : <b>${paper.inspireId}</b>
+          <a href="http://inspirehep.net/record/${paper.inspireId}">(View)</a> 
+
         </t:if>
 
       <t:loop source="datasetsnew" value="dataset">
         <div class="datasetbox">
             <!--<a href="#" t:type="pagelink" t:page="view" t:context="baseContext">Table ${dataset.id}</a>-->
-            <a href="http://hepdata.cedar.ac.uk/view/irn${paper.spiresid}/d${dataset.id}"> Table ${dataset.id} </a>
+            <a href="http://hepdata.cedar.ac.uk/view/ins${paper.inspireid}/d${dataset.id}"> Table ${dataset.id} </a>
           <t:datasetAsHtmlWithoutPlot dataset="dataset" format="${format}" />
         </div>
       </t:loop>


More information about the HepData-svn mailing list