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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Nov 27 13:55:38 GMT 2009


Author: whalley
Date: Fri Nov 27 13:55:38 2009
New Revision: 1326

Log:
and more tweaks

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	Fri Nov 27 12:42:24 2009	(r1325)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Fri Nov 27 13:55:38 2009	(r1326)
@@ -2,11 +2,20 @@
 <html t:type="layout" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
 
 <t:if test="longFormat">
-    <h2>Reaction Database Full Record Display</h2>
+    <h2> Reaction Database Full Record Display</h2>
+    View
+    <a href="#" t:type="pagelink" t:page="view" t:context="shortContext"><font size="-1">short record</font></a>
   <t:parameter name="else">
-    <h2>Reaction Database Short Record Display</h2>
+    <h2> Reaction Database Short Record Display</h2>
+    View
+        <a href="#" t:type="pagelink" t:page="view" t:context="baseContext"><font size="-1">full record</font></a>
   </t:parameter>
 </t:if>
+    or as: 
+        <a href="#" t:type="pagelink" t:page="view" t:context="plainContext">plain text</a>,&nbsp;
+        <a href="#" t:type="pagelink" t:page="view" t:context="aidaContext">AIDA</a>&nbsp;or
+        <a href="#" t:type="pagelink" t:page="view" t:context="pyrootContext">PyROOT</a>&nbsp;
+        <!-- <a href="#" t:type="pagelink" t:page="view" t:context="yodaContext">YODA</a> -->
   <t:if test="paper.hepdataId">
     <title>HepData &ndash; ${paper.shortName}</title>
 
@@ -33,33 +42,21 @@
         <br/>
         Preprinted as <b>${paper.firstPreprint}</b> 
         <br/>
-        Spires ID (IRN): <b><a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">${paper.spiresId}</a></b>
-      </p>
+        <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>
+       </p>
 
       <div class="papercomments">
         <t:displayPaperComments p="paper" />
       </div>
       <p>
-        <t:if test="longFormat">
-          <a href="#" t:type="pagelink" t:page="view" t:context="shortContext">View short record</a>
-        </t:if>
-        <t:if test="shortFormat">
-          <a href="#" t:type="pagelink" t:page="view" t:context="baseContext">View full record</a>
-        </t:if>
-        <t:if test="paper.spiresId">
-          | <a href="http://durpdg.dur.ac.uk/cgi-bin/spiface/hep/www?irn+${paper.spiresId}">View Spires record</a>
-        </t:if>
-          | <a href="/saveplot?list=all"
+          <a href="/saveplot?list=all"
            title="Show the datasets which have been selected for combined plotting">View list of currently selected plots</a>
         <!-- <t:if test="searchquery"> -->
         <!--   | <a href="search?q=${searchquery}">Back to search...</a> -->
         <!-- </t:if> -->
-        <br/><br/>
-        Alternative formats:
-        <a href="#" t:type="pagelink" t:page="view" t:context="plainContext">plain text</a>&nbsp;
-        <a href="#" t:type="pagelink" t:page="view" t:context="aidaContext">AIDA</a>&nbsp;
-        <a href="#" t:type="pagelink" t:page="view" t:context="pyrootContext">PyROOT</a>&nbsp;
-        <!-- <a href="#" t:type="pagelink" t:page="view" t:context="yodaContext">YODA</a> -->
      </p>
 
       <t:if test="showSys">


More information about the HepData-svn mailing list