mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-22 15:36:13 +01:00
bb2476d783
Label keys should be specific to their context. This allows having different labels for the same thing in different contexts (e.g., having different headings for the tea title in the regular list view and the FE editor). We take the plugin as the context here, which allows us to reuse labels between different actions of the same plugin (e.g., between the list view and single view).
37 lines
1.2 KiB
HTML
37 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
|
<f:layout name="Default"/>
|
|
|
|
<f:section name="main">
|
|
<h2>
|
|
<f:translate key="plugin.tea.heading"/>
|
|
</h2>
|
|
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>
|
|
<f:translate key="plugin.tea.property.uid"/>
|
|
</th>
|
|
<th>
|
|
<f:translate key="plugin.tea.property.title"/>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<f:for each="{teas}" as="tea">
|
|
<tr>
|
|
<td scope="row">
|
|
{tea.uid}
|
|
</td>
|
|
<td>
|
|
<f:link.action action="show" arguments="{tea: tea}" pageUid="{settings.singleViewPageUid}">
|
|
{tea.title}
|
|
</f:link.action>
|
|
</td>
|
|
</tr>
|
|
</f:for>
|
|
</tbody>
|
|
</table>
|
|
</f:section>
|
|
</html>
|