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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Oct 14 10:55:41 BST 2011


Author: whalley
Date: Fri Oct 14 10:55:41 2011
New Revision: 1475

Log:
add INSPIRE to short display and tweak it

Modified:
   trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.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	Thu Oct 13 22:17:19 2011	(r1474)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/Search.tml	Fri Oct 14 10:55:41 2011	(r1475)
@@ -64,23 +64,27 @@
           Preprint: <b>${paper.firstpreprint}</b>
         </t:if>
         <t:if test="paper.archive">
-          Archive: <b>${paper.archive}</b>
+            Archive:
+           <a href="http://arxiv.org/abs/${paper.archive}">
+           <b>${paper.archive}</b></a>
         </t:if>
+<!--
         <t:if test="paper.spiresId">
           (Spires ID:
-          <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">${paper.spiresId}</a>)
+          <a href="http://inspirehep.net/search?p=irn+${paper.spiresId}&search_action=Search">${paper.spiresId}</a>)
         </t:if>
+-->
         <p class="searchresulttitle">${paper.title}</p>
 
         <t:if test="isMultiPaper">
             <a href="#" t:type="pagelink" t:page="view" t:context="paperidcontext"
-            title="View the complete data record">Full data record</a> |
+                title="View the complete data record">Full data record</a> |
             <a href="#" t:type="pagelink" t:page="view" t:context="shortpaperidcontext"
-            title="Just view the table headers for this record">Short data record</a>
-            <t:if test="paper.spiresId">
-              | <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}"
-              title="View the Spires database record for paper with IRN code ${paper.spiresId}">Spires record (${paper.spiresId})</a>
-            </t:if>
+                title="Just view the table headers for this record">Short data record</a>
+             <t:if test="paper.spiresId">
+                | <a href="http://inspirebeta.net/search?p=irn+${paper.spiresId}&search_action=Search"
+                     title="View the Spires database record for paper with IRN code ${paper.spiresId}">Spires record (${paper.spiresId})</a>
+             </t:if>
             <br/>
             <t:loop source="otherPapers" value="otherPaper">
                <a href="#" t:type="pagelink" t:page="view" t:context="${otherpaperidcontext}"
@@ -88,15 +92,21 @@
                <a href="#" t:type="pagelink" t:page="view" t:context="othershortpaperidcontext"
                   title="Just view the table headers for this record">Short data record</a>
             </t:loop>
-            <t:parameter t:name="else">
-               <a href="#" t:type="pagelink" t:page="view" t:context="paperidcontext"
+       <t:parameter t:name="else">
+             <a href="#" t:type="pagelink" t:page="view" t:context="paperidcontext"
                title="View the complete data record">Full data record</a> |
                <a href="#" t:type="pagelink" t:page="view" t:context="shortpaperidcontext"
                title="Just view the table headers for this record">Short data record</a>
+<!--
                <t:if test="paper.spiresId">
-                 | <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}"
+                 | <a href="http://inspirebeta.net/search?p=irn+${paper.spiresId}&search_action=Search"
                  title="View the Spires database record for paper with IRN code ${paper.spiresId}">Spires record (${paper.spiresId})</a>
                </t:if>
+ -->
+           <t:if test="paper.inspireId">
+                 | <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:parameter>
         </t:if>
       </div>


More information about the HepData-svn mailing list