[HepData-svn] r1754 - trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Feb 27 12:36:21 GMT 2014


Author: whalley
Date: Thu Feb 27 12:36:21 2014
New Revision: 1754

Log:
adding cdsid link to plotting ahead of redid  etc

Modified:
   trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java

Modified: trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java
==============================================================================
--- trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Thu Feb 27 12:22:42 2014	(r1753)
+++ trunk/hepdata-webapp/src/main/java/cedar/hepdata/webapp/components/DatasetAsHtml.java	Thu Feb 27 12:36:21 2014	(r1754)
@@ -673,6 +673,7 @@
             String urlid = "";
             if(_dataset.getPaper().getInspireId() != null) { urlid = "/ins"+_dataset.getPaper().getInspireId(); }
             else if(_dataset.getPaper().getSpiresId() != null) { urlid = "/irn"+_dataset.getPaper().getSpiresId(); }
+            else if(_dataset.getPaper().getCdsId() != null) { urlid = "/cds"+_dataset.getPaper().getCdsId(); }
             else if(_dataset.getPaper().getRedId() != null) { urlid = "/red"+_dataset.getPaper().getRedId() ;}
             else { urlid = "/p"+_dataset.getPaper().getId(); }
             String urlparts = ""


More information about the HepData-svn mailing list