Author: mrisaliti
Date: Tue Jan 22 14:31:52 2008 New Revision: 614360 URL: http://svn.apache.org/viewvc?rev=614360&view=rev Log: Removed same deprecated style (Part of issue OFBIZ-1583) Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/listCommunications.ftl Modified: ofbiz/trunk/applications/party/webapp/partymgr/communication/listCommunications.ftl URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/webapp/partymgr/communication/listCommunications.ftl?rev=614360&r1=614359&r2=614360&view=diff ============================================================================== --- ofbiz/trunk/applications/party/webapp/partymgr/communication/listCommunications.ftl (original) +++ ofbiz/trunk/applications/party/webapp/partymgr/communication/listCommunications.ftl Tue Jan 22 14:31:52 2008 @@ -19,12 +19,12 @@ <#if partyId?exists> <div style="text-align: right;"> - <a href="<@ofbizUrl>viewCommunicationEvent?partyIdFrom=${partyId}&partyId=${partyId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.PartyNewCommunication}]</a> + <a href="<@ofbizUrl>viewCommunicationEvent?partyIdFrom=${partyId}&partyId=${partyId}</@ofbizUrl>" class="buttontext">${uiLabelMap.PartyNewCommunication}</a> </div> </#if> <br/> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table class="basic-table" cellspacing="0"> <#assign target = requestAttributes.targetRequestUri> <#if partyId?exists> <#assign target = target + "?partyId=" + partyId + "&previousSort=" + previousSort> @@ -59,16 +59,16 @@ </#if> <tr> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=communicationEventId</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyCommEvent} #</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=communicationEventTypeId</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyType}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=contactMechTypeId</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyContactType}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=statusId</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyStatus}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=subject</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartySubject}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=partyIdFrom</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyPartyFrom}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=partyIdTo</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyPartyTo}</a></td> - <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=entryDate</@ofbizUrl>" class="tableheadbutton">${uiLabelMap.PartyEnteredDate}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=communicationEventId</@ofbizUrl>">${uiLabelMap.PartyCommEvent} #</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=communicationEventTypeId</@ofbizUrl>">${uiLabelMap.PartyType}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=contactMechTypeId</@ofbizUrl>">${uiLabelMap.PartyContactType}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=statusId</@ofbizUrl>">${uiLabelMap.PartyStatus}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=subject</@ofbizUrl>">${uiLabelMap.PartySubject}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=partyIdFrom</@ofbizUrl>">${uiLabelMap.PartyPartyFrom}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=partyIdTo</@ofbizUrl>">${uiLabelMap.PartyPartyTo}</a></td> + <td><a href="<@ofbizUrl>${target}&VIEW_SIZE=${viewSize}&VIEW_INDEX=${viewIndex}&sort=entryDate</@ofbizUrl>">${uiLabelMap.PartyEnteredDate}</a></td> </tr> - <tr><td colspan="9"><hr class="sepbar"></td></tr> + <tr><td colspan="9"><hr></td></tr> <#if eventList?has_content> <#list eventList as event> <#assign eventType = event.getRelatedOne("CommunicationEventType")?if_exists> @@ -80,28 +80,28 @@ <#assign partyId = event.partyIdFrom> </#if> <tr> - <td><div class="tabletext">${event.communicationEventId?if_exists}</div></td> - <td><div class="tabletext">${(eventType.get("description",locale))?default(uiLabelMap.CommonNA)}</div></td> - <td><div class="tabletext">${(contactMechType.get("description",locale))?default(uiLabelMap.CommonNA)}</div></td> - <td><div class="tabletext">${(statusItem.get("description",locale))?default(uiLabelMap.CommonNA)}</div></td> - <td><div class="tabletext">${event.subject?if_exists}</div></td> + <td>${event.communicationEventId?if_exists}</td> + <td>${(eventType.get("description",locale))?default(uiLabelMap.CommonNA)}</td> + <td>${(contactMechType.get("description",locale))?default(uiLabelMap.CommonNA)}</td> + <td>${(statusItem.get("description",locale))?default(uiLabelMap.CommonNA)}</td> + <td>${event.subject?if_exists}</td> <#if event.partyIdFrom?has_content> <td><a href="<@ofbizUrl>viewprofile?partyId=${event.partyIdFrom}</@ofbizUrl>" class="buttontext">${event.partyIdFrom}</a></td> <#else> - <td><div class="tabletext">${uiLabelMap.CommonNA}</div></td> + <td>${uiLabelMap.CommonNA}</td> </#if> <#if event.partyIdTo?has_content> <td><a href="<@ofbizUrl>viewprofile?partyId=${event.partyIdTo}</@ofbizUrl>" class="buttontext">${event.partyIdTo}</a></td> <#else> - <td><div class="tabletext">${uiLabelMap.CommonNA}</div></td> + <td>${uiLabelMap.CommonNA}</td> </#if> - <td><div class="tabletext">${(event.entryDate?string)?if_exists}</div></td> - <td align="right"><a href="<@ofbizUrl>viewCommunicationEvent?partyId=${event.partyIdFrom?if_exists}&communicationEventId=${event.communicationEventId}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonView}]</a> + <td>${(event.entryDate?string)?if_exists}</td> + <td align="right"><a href="<@ofbizUrl>viewCommunicationEvent?partyId=${event.partyIdFrom?if_exists}&communicationEventId=${event.communicationEventId}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonView}</a> </tr> </#list> <#else> <tr> - <td colspan="8"><div class="tabletext">${uiLabelMap.PartyNoCommunicationFound}</div></td> + <td colspan="8">${uiLabelMap.PartyNoCommunicationFound}</td> </tr> </#if> -</table> +</table> \ No newline at end of file |
Free forum by Nabble | Edit this page |