| Current Path : /proc/thread-self/root/var/www/surf/TYPO3/src/surf/Resources/Private/Templates/Order/ |
| Current File : //proc/thread-self/root/var/www/surf/TYPO3/src/surf/Resources/Private/Templates/Order/List.html |
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
<f:layout name="Default" />
This template is responsible for creating a table of domain objects.
If you modify this template, do not forget to change the overwrite settings
in /Configuration/ExtensionBuilder/settings.yaml:
Resources:
Private:
Templates:
Order:
List.html: keep
Otherwise your changes will be overwritten the next time you save the extension in the extension builder
<f:section name="content">
<h1>Listing for Order</h1>
<f:flashMessages />
<table class="tx_surf">
<tr>
<th><f:translate key="tx_surf_domain_model_order.code" /></th>
<th><f:translate key="tx_surf_domain_model_order.name" /></th>
<th><f:translate key="tx_surf_domain_model_order.status" /></th>
<th></th>
<th></th>
</tr>
<f:for each="{orders}" as="order">
<tr>
<td><f:link.action action="show" arguments="{order : order}">{order.code}</f:link.action></td>
<td><f:link.action action="show" arguments="{order : order}">{order.name}</f:link.action></td>
<td><f:link.action action="show" arguments="{order : order}">{order.status}</f:link.action></td>
<td><f:link.action action="edit" arguments="{order : order}">Edit</f:link.action></td>
<td><f:link.action action="delete" arguments="{order : order}">Delete</f:link.action></td>
</tr>
</f:for>
</table>
<f:link.action action="new">New Order</f:link.action>
</f:section>
</html>