| Current Path : /var/www/surf/TYPO3/src/surf/Resources/Private/Templates/OrderItem/ |
| Current File : /var/www/surf/TYPO3/src/surf/Resources/Private/Templates/OrderItem/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:
OrderItem:
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 OrderItem</h1>
<f:flashMessages />
<table class="tx_surf">
<tr>
<th><f:translate key="tx_surf_domain_model_orderitem.code" /></th>
<th><f:translate key="tx_surf_domain_model_orderitem.name" /></th>
<th><f:translate key="tx_surf_domain_model_orderitem.quantity" /></th>
<th><f:translate key="tx_surf_domain_model_orderitem.status" /></th>
<th></th>
<th></th>
</tr>
<f:for each="{orderItems}" as="orderItem">
<tr>
<td><f:link.action action="show" arguments="{orderItem : orderItem}">{orderItem.code}</f:link.action></td>
<td><f:link.action action="show" arguments="{orderItem : orderItem}">{orderItem.name}</f:link.action></td>
<td><f:link.action action="show" arguments="{orderItem : orderItem}">{orderItem.quantity}</f:link.action></td>
<td><f:link.action action="show" arguments="{orderItem : orderItem}">{orderItem.status}</f:link.action></td>
<td><f:link.action action="edit" arguments="{orderItem : orderItem}">Edit</f:link.action></td>
<td><f:link.action action="delete" arguments="{orderItem : orderItem}">Delete</f:link.action></td>
</tr>
</f:for>
</table>
<f:link.action action="new">New OrderItem</f:link.action>
</f:section>
</html>