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

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Fri Oct 12 14:03:40 BST 2012


Author: whalley
Date: Fri Oct 12 14:03:40 2012
New Revision: 1583

Log:
displaying multiple part records in a better way

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 Oct 12 12:25:46 2012	(r1582)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Fri Oct 12 14:03:40 2012	(r1583)
@@ -59,24 +59,23 @@
 
 
 <t:if test="haveMultiple">
-    <font size="-1">
-    <br/>
-    This record has multiple entries with HepData Ids:  
+    <font size="+1">
+    <p/>
+    This record has multiple parts:
+    <p/>  
     <t:if test="haveMultiple2"> 
-    (
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context">${paper1.hepdataId}</a> 
-    -
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context">${paper2.hepdataId}</a> 
-    )
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the first 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> 
+    <br/>
     </t:if>
     <t:if test="haveMultiple3"> 
-    ( 
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context">${paper1.hepdataId}</a> 
-    -
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper2Context">${paper2.hepdataId}</a> 
-    -
-    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper3Context">${paper3.hepdataId}</a> 
-    )
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper1Context"><b>Go to the first 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> 
+    <br/>
+    <a href="#" t:type="pagelink" t:page="view" t:context="hdpaper3Context"><b>Go to the third part of this record</b></a> 
+    <br/>
     </t:if>
    </font>
 </t:if>


More information about the HepData-svn mailing list