[HepData-svn] r1511 - in trunk/hepdata-webapp/src/main: java/cedar/hepdata/webapp/pages resources/cedar/hepdata/webapp/pages

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Tue Feb 14 10:34:24 GMT 2012


Author: whalley
Date: Tue Feb 14 10:34:23 2012
New Revision: 1511

Log:
fixes to Source Area Description handling and Auxillary information display

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

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/View.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/View.java	Tue Feb 14 10:32:44 2012	(r1510)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/pages/View.java	Tue Feb 14 10:34:23 2012	(r1511)
@@ -262,15 +262,15 @@
         File testfile = new File(filename);
         return testfile.exists();
     }
-    public boolean getHaveExtraREDdesc() {
+    public boolean getHaveExtraREDDesc() {
         File testfile = new File("/home/whalley/resource/" + getPaper().getRedId() + "/description");
         return testfile.exists();
     }
-    public boolean getHaveExtraREDdesc1() {
+    public boolean getHaveExtraREDDesc1() {
         File testfile = new File("/home/whalley/resource/" + getPaper().getRedId() + "/description1");
         return testfile.exists();
     }
-    public boolean getHaveExtraREDdesc2() {
+    public boolean getHaveExtraREDDesc2() {
         File testfile = new File("/home/whalley/resource/" + getPaper().getRedId() + "/description2");
         return testfile.exists();
     }

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	Tue Feb 14 10:32:44 2012	(r1510)
+++ trunk/hepdata-webapp/src/main/resources/cedar/hepdata/webapp/pages/View.tml	Tue Feb 14 10:34:23 2012	(r1511)
@@ -86,6 +86,10 @@
           Conference paper <b>${paper.firstConference}</b> 
           <br/>
         </t:if>
+        <t:if test="paper.firstAux">
+          Auxillary Material: <a href="${paper.firstAux}">${paper.firstAux}</a> 
+          <br/>
+        </t:if>
         <t:if test="paper.inspireId">
           Record in: 
           <a href="http://inspirehep.net/search?p=recid+${paper.inspireId}&search_action=Search"><b>INSPIRE</b></a> 
@@ -105,14 +109,15 @@
       <t:if test="haveExtraIRNDesc1">
           <a href="${showExtraIRNDesc1}">${showExtraIRNDesc2}</a>
       </t:if>  
+      <t:if test="haveExtraREDDesc1">
+          <br/>
+          <a href="${showExtraREDDesc1}">${showExtraREDDesc2}</a>
+      </t:if>  
       <t:if test="haveExtraIRNDesc">
           <br/>
           <a href="/resource/${paper.spiresId}/index.shtml">${showExtraIRNDesc}</a> 
       </t:if>
      
-      <t:if test="haveExtraREDDesc1">
-          <a href="${showExtraREDDesc1}">${showExtraREDDesc2}</a>
-      </t:if>  
       <t:if test="haveExtraREDDesc">
       <br/>
           <a href="/resource/${paper.redId}/index.shtml">${showExtraREDDesc}</a> 


More information about the HepData-svn mailing list