[Suiviobsmer-commits] r1031 - trunk/wao-ui/src/main/webapp
Author: bleny Date: 2011-02-18 11:16:03 +0000 (Fri, 18 Feb 2011) New Revision: 1031 Log: hide feature for professionnal Modified: trunk/wao-ui/src/main/webapp/SamplingPlan.tml Modified: trunk/wao-ui/src/main/webapp/SamplingPlan.tml =================================================================== --- trunk/wao-ui/src/main/webapp/SamplingPlan.tml 2011-02-18 10:28:16 UTC (rev 1030) +++ trunk/wao-ui/src/main/webapp/SamplingPlan.tml 2011-02-18 11:16:03 UTC (rev 1031) @@ -339,9 +339,11 @@ <img src="${asset:context:}/img/boat-unavailable-22px.png" alt="Navire impossible" /> </p:else> </t:if> - <a t:type="pagelink" t:page="sampleRowHistoric" t:context="row.code"> - <img src="${asset:context:}/img/clock-22px.png" alt="Historique" title="Voir historique de la ligne"/> - </a> + <t:unless test="user.professional"> + <a t:type="pagelink" t:page="sampleRowHistoric" t:context="row.code"> + <img src="${asset:context:}/img/clock-22px.png" alt="Historique" title="Voir historique de la ligne"/> + </a> + </t:unless> </t:unless> <t:if t:test="canEditSampleRow()"> <a t:type="pagelink" t:page="sampleRowForm" t:context="row.topiaId">
participants (1)
-
bleny@users.labs.libre-entreprise.org