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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Dec 16 11:06:50 GMT 2011


Author: whalley
Date: Fri Dec 16 11:06:49 2011
New Revision: 1504

Log:
moving Rivet code to Paper and tweak View

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

Modified: trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml
==============================================================================
--- trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml	Fri Dec 16 11:05:48 2011	(r1503)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml	Fri Dec 16 11:06:49 2011	(r1504)
@@ -111,8 +111,8 @@
                  | <a href="http://inspirehep.net/search?p=recid+${paper.inspireId}&search_action=Search"
                     title="View the INSPIRE database record for this paper (${paper.spiresId}/${paper.inspireId})"><b>INSPIRE</b></a>
            </t:if>
-           <t:if test="haveRivet">
-                 | <a href="http://projects.hepforge.org/rivet/analyses#${rivetName}"><b>Rivet</b></a>
+           <t:if test="paper.haveRivet">
+                 | <a href="http://projects.hepforge.org/rivet/analyses#${paper.rivetName}"><b>Rivet</b></a>
            </t:if>
            </t:parameter>
         </t:if>

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	Fri Dec 16 11:05:48 2011	(r1503)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Fri Dec 16 11:06:49 2011	(r1504)
@@ -78,17 +78,23 @@
           <br/>
         </t:if>
         <t:if test="paper.archive">
-          Archived as <b>${paper.archive}</b> 
+          Archived as: 
+          <a href="http://arxiv.org/abs/${paper.archive}"><b>${paper.archive}</b></a> 
           <br/>
         </t:if>
         <t:if test="paper.firstConference">
           Conference paper <b>${paper.firstConference}</b> 
           <br/>
         </t:if>
-        <t:if test="paper.spiresId">
-          Spires ID (IRN): <b>${paper.spiresId}</b>
-          <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">(View)</a> 
+        <t:if test="paper.inspireId">
+          Record in: 
+          <a href="http://inspirehep.net/search?p=recid+${paper.inspireId}&search_action=Search"><b>INSPIRE</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>
        </p>
 
       <div class="papercomments">


More information about the HepData-svn mailing list