From 1a62a81452ce908b9afef40504cd994bf09cc5ed Mon Sep 17 00:00:00 2001
From: Olof Svensson <svensson@linsvensson.esrf.fr>
Date: Fri, 29 Jun 2018 09:48:49 +0200
Subject: [PATCH] Issue #431 : Now hides the "Sampling Rate" row if no
 DataCollection_xBeamPix

---
 .../em.first.general.mxdatacollectiongrid.template.js     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/templates/em/datacollectionsummary/em.first.general.mxdatacollectiongrid.template.js b/templates/em/datacollectionsummary/em.first.general.mxdatacollectiongrid.template.js
index 40de7444a..2b8dc704a 100644
--- a/templates/em/datacollectionsummary/em.first.general.mxdatacollectiongrid.template.js
+++ b/templates/em/datacollectionsummary/em.first.general.mxdatacollectiongrid.template.js
@@ -23,10 +23,10 @@
       <td>Amplitude Contrast</td>
       <td class='column_parameter_value'>10 %</td>
    </tr>
-
-     <tr>
+   {?DataCollection_xBeamPix}
+   <tr>
       <td>Sampling Rate</td>
       <td class='column_parameter_value'>{.DataCollection_xBeamPix} &Acirc;/pixel</td>
-   </tr>   
-    
+   </tr>
+   {/DataCollection_xBeamPix}
 </table>
\ No newline at end of file