[Suiviobsmer-commits] r1128 - in trunk/wao-ui/src/main: resources/fr/ifremer/wao/ui/pages webapp
Author: bleny Date: 2011-04-01 11:34:49 +0000 (Fri, 01 Apr 2011) New Revision: 1128 Log: sorting boats by district code raise exception due to bad formatted query, removing possibility to sort Modified: trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties trunk/wao-ui/src/main/webapp/Boats.tml Modified: trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties =================================================================== --- trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties 2011-04-01 11:33:31 UTC (rev 1127) +++ trunk/wao-ui/src/main/resources/fr/ifremer/wao/ui/pages/Boats_fr.properties 2011-04-01 11:34:49 UTC (rev 1128) @@ -26,7 +26,7 @@ # GRID name-label: Nom immatriculation-label: Imma. -districtCode-label: Quartier +boatDistrict-label: Quartier boatLength-label: Long. buildYear-label: Ann\u00e9e Modified: trunk/wao-ui/src/main/webapp/Boats.tml =================================================================== --- trunk/wao-ui/src/main/webapp/Boats.tml 2011-04-01 11:33:31 UTC (rev 1127) +++ trunk/wao-ui/src/main/webapp/Boats.tml 2011-04-01 11:34:49 UTC (rev 1128) @@ -95,8 +95,8 @@ title="${format:wao.ui.action.exportBoats=boats.availableRows}" /> </a> </h1> - <div t:type="grid" t:source="boats" t:row="boat" - t:include="name, immatriculation, districtCode, boatLength, buildYear" t:rowClass="prop:rowStyle" t:rowsPerPage="20"> + <div t:type="grid" t:source="boats" t:row="boat" t:add="boatDistrict" + t:include="name, immatriculation, boatLength, buildYear" t:rowClass="prop:rowStyle" t:rowsPerPage="20"> <p:nameCell> <t:if t:test="canCreateNewContactFromList()"> <a t:type="actionlink" t:id="addNewContactFromBoat" t:context="boat.immatriculation"> @@ -110,6 +110,9 @@ </p:else> </t:unless> </p:nameCell> + <p:boatDistrictCell> + ${boat.districtCode} + </p:boatDistrictCell> <p:boatLengthCell> ${boat.boatLength} m </p:boatLengthCell>
participants (1)
-
bleny@users.labs.libre-entreprise.org