mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-30 02:16:45 +01:00
tea/Resources/Private/Templates/Tea/Index.html
Oliver Klee ea915289df
[TASK] Drop incorrectly placed scope HTML attribute (#862)
The `scope` attribute only makes sense for `th` elements, but not for
`td` elements.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td
2023-06-21 11:37:30 +00:00

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>
{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>