Author: bleny Date: 2010-11-02 22:45:28 +0000 (Tue, 02 Nov 2010) New Revision: 729 Log: add message in case there is no modification in history Modified: trunk/wao-ui/src/main/webapp/IndicatorsHistory.tml Modified: trunk/wao-ui/src/main/webapp/IndicatorsHistory.tml =================================================================== --- trunk/wao-ui/src/main/webapp/IndicatorsHistory.tml 2010-11-02 22:41:53 UTC (rev 728) +++ trunk/wao-ui/src/main/webapp/IndicatorsHistory.tml 2010-11-02 22:45:28 UTC (rev 729) @@ -41,13 +41,18 @@ <div class="mtop30" /> - <p t:type="loop" t:source="indicatorLogs" t:value="indicatorLog"> - Auteur de la modification : <strong>${indicatorLog.author.fullName}</strong><br /> - Commentaire : ${indicatorLog.comment}<br /> - Modifications effectuées : ${indicatorLog.logText}<br /><br /> + <t:if test="indicatorLogs.empty"> + <strong>Aucune modification n'a été apportée à ce jour</strong> + <p:else> + <p t:type="loop" t:source="indicatorLogs" t:value="indicatorLog"> + Auteur de la modification : <strong>${indicatorLog.author.fullName}</strong><br /> + Commentaire : ${indicatorLog.comment}<br /> + Modifications effectuées : ${indicatorLog.logText}<br /><br /> - <div class="mtop30" /> - </p> + <div class="mtop30" /> + </p> + </p:else> + </t:if> </div> </t:layout>