Author: tchemit Date: 2014-03-26 11:26:25 +0100 (Wed, 26 Mar 2014) New Revision: 1755 Url: http://forge.codelutin.com/projects/wao/repository/revisions/1755 Log: fix display-real-tides Modified: trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/sampling-plan.jsp Modified: trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/sampling-plan.jsp =================================================================== --- trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/sampling-plan.jsp 2014-03-26 09:08:46 UTC (rev 1754) +++ trunk/wao-web/src/main/webapp/WEB-INF/content/obsmer/sampling-plan.jsp 2014-03-26 10:26:25 UTC (rev 1755) @@ -233,7 +233,7 @@ <s:iterator value="samplingPlan.months" var="month"> <td<s:if test="@fr.ifremer.wao.WaoUtils@isCurrentMonth(#month)"> class="current-month"</s:if>> <s:property value="%{#samplingPlanRow.getNbTidesExpected(#month)}"/> - <span class="display-tides-real"> + <span<s:if test="#samplingPlanRow.hasNbTidesReal(#month) && !#authenticatedWaoUser.guest"> class="display-tides-real"</s:if>> <em>(<s:property value="%{#samplingPlanRow.getNbTidesReal(#month)}"/>) </em> </span>
participants (1)
-
tchemit@users.forge.codelutin.com