2009-03-08 15:14:05 +01:00
|
|
|
<%inherit file="/base/customer.mako" />
|
|
|
|
|
2009-03-14 20:09:37 +01:00
|
|
|
<%def name="heading()"><h1>${_('View customer')}</h1></%def>
|
|
|
|
|
2009-03-08 15:14:05 +01:00
|
|
|
<table>
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
|
|
|
<th>${_('First name:')}</th><td>${c.customer.person.firstname}</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th>${_('Last name:')}</th><td>${c.customer.person.lastname}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
|
2009-03-14 20:09:37 +01:00
|
|
|
<%def name="footer()">
|
|
|
|
<p>
|
2009-03-17 22:38:39 +01:00
|
|
|
${h.link_to(_('All Customers'), h.url_for(controller='customer', action='list'))}
|
|
|
|
| ${h.link_to(_('New Customer'), h.url_for(controller='customer', action='new'))}
|
|
|
|
| ${h.link_to(_('Edit Customer'), h.url_for(controller='customer', action='edit', id=c.id))}
|
|
|
|
| ${h.link_to(_('Delete Customer'), h.url_for(controller='customer', action='delete', id=c.id))}
|
2009-03-14 20:09:37 +01:00
|
|
|
</p>
|
|
|
|
${parent.footer()}
|
|
|
|
</%def>
|