From: <av...@us...> - 2006-05-24 21:35:28
|
Revision: 3051 Author: aveitch Date: 2006-05-24 14:35:19 -0700 (Wed, 24 May 2006) ViewCVS: http://svn.sourceforge.net/mailmanager/?rev=3051&view=rev Log Message: ----------- Customer screen appearance improved when there are no customers set up. Modified Paths: -------------- MailManager/branches/RELENG_2_1/www/CustomerSettings.zpt Modified: MailManager/branches/RELENG_2_1/www/CustomerSettings.zpt =================================================================== --- MailManager/branches/RELENG_2_1/www/CustomerSettings.zpt 2006-05-24 21:30:16 UTC (rev 3050) +++ MailManager/branches/RELENG_2_1/www/CustomerSettings.zpt 2006-05-24 21:35:19 UTC (rev 3051) @@ -28,7 +28,7 @@ <div metal:fill-slot="main_content" tal:omit-tag="" tal:define="customers python:here.sql.listCustomers(sqv_username='')"> <!-- if section in ('list', 'remove') --> <div tal:condition="python:section in ('list', 'remove')"> - <table class="settings" tal:condition="customers" summary="Customer list" i18n:attributes="summary customer_list;"> + <table class="settings" summary="Customer list" i18n:attributes="summary customer_list;"> <thead> <tr> <th i18n:translate="full_name">Full Name</th> @@ -49,10 +49,12 @@ <span class="state delete" ><a tal:attributes="href string:delCustomer?username=${item/username}" i18n:translate="delete">Delete</a></span> </td> </tr> + <tr tal:condition="not:customers"> + <td colspan="3" i18n:translate="no_customers">There are no customers set up.</td> + </tr> </tbody> </table> - <p tal:condition="not:customers" i18n:translate="no_customers">There are no customers set up.</p> </div> <!-- end if section in ('list', 'remove') --> <!-- if section in ('add', 'edit') --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |