Hi Hans, Please try and keep in mind that inline styling == bad practice.
Thanks Scott HotWax Media http://www.hotwaxmedia.com On 21/10/2009, at 9:39 PM, hans...@apache.org wrote:
Author: hansbak Date: Wed Oct 21 08:39:24 2009 New Revision: 827921 URL: http://svn.apache.org/viewvc?rev=827921&view=rev Log: improve displa of customer request in project manager Modified:ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/ overViewRequestItems.ftlModified: ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/ request/overViewRequestItems.ftlURL: http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/overViewRequestItems.ftl?rev=827921&r1=827920&r2=827921&view=diff= = = = = = = = ====================================================================== --- ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/ overViewRequestItems.ftl (original) +++ ofbiz/trunk/specialpurpose/projectmgr/webapp/projectmgr/request/ overViewRequestItems.ftl Wed Oct 21 08:39:24 2009@@ -53,45 +53,51 @@<textarea readonly="readonly" rows="15" cols="72">$ {custRequestItemList.story}</textarea></#if> </td> - <td> + + <#-- now show notes details per line item -->+ <td colspan="1" align="right" valign="top" width="50%" nowrap="nowrap" style="background-color:white; vertical-align: top;">+ <#if custRequestItemNoteViews?has_content>+ <table class="basic-table hover-bar" cellspacing="0">+ <tr class="header-row"> + <td> + </td> + <td> + ${uiLabelMap.CommonNbr} + </td> + <td> + ${uiLabelMap.CommonNote} + </td> + <td> + ${uiLabelMap.CommonDate} + </td> + </tr>+ <#list custRequestItemNoteViews as custRequestItemNoteViewList> + <#if custRequestItemNoteViewList.custRequestItemSeqId == custRequestItemList.custRequestItemSeqId>+ <#if row?has_content> + <#assign row=""> + <#else> + <#assign row="alternate-row"> + </#if> + <tr class="${row}"> + <td> + </td> + <td>+ $ {custRequestItemNoteViewList.noteId}+ </td> + <td >+ $ {custRequestItemNoteViewList.noteInfo}+ </td> + <td>+ $ {custRequestItemNoteViewList.noteDateTime.toString().substring(0,10)}+ </td> + </tr> + </#if> + </#list> + </table> + </#if><a href="<@ofbizUrl>requestitemnotes?custRequestId=$ {custRequestItemList.custRequestId}&custRequestItemSeqId=$ {custRequestItemList.custRequestItemSeqId}</@ofbizUrl>" class="linktext">${uiLabelMap.OrderAddNote}</a></td> </tr> - <tr class="header-row"> - <td> - </td> - <td> - ${uiLabelMap.CommonNbr} - </td> - <td> - ${uiLabelMap.CommonNote} - </td> - <td> - ${uiLabelMap.CommonDate} - </td> - </tr>- <#list custRequestItemNoteViews as custRequestItemNoteViewList> - <#if custRequestItemNoteViewList.custRequestItemSeqId == custRequestItemList.custRequestItemSeqId>- <#if row?has_content> - <#assign row=""> - <#else> - <#assign row="alternate-row"> - </#if> - <tr class="${row}"> - <td> - </td> - <td> - ${custRequestItemNoteViewList.noteId} - </td> - <td > - ${custRequestItemNoteViewList.noteInfo} - </td> - <td>- $ {custRequestItemNoteViewList.noteDateTime.toString().substring(0,10)}- </td> - </tr> - </#if> - </#list> </#if> </#list> </table>
smime.p7s
Description: S/MIME cryptographic signature