[TASK] Remove dependency to extbase from reports module
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / Resources / Private / Templates / Report / Index.html
index c3f2569..fcd0b19 100644 (file)
@@ -1,4 +1,7 @@
-{namespace r=TYPO3\CMS\Reports\ViewHelpers}
+<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
+                       xmlns:r="http://typo3.org/ns/TYPO3/CMS/Reports/ViewHelpers"
+                       xmlns:be="http://typo3.org/ns/TYPO3/CMS/Backend/ViewHelpers"
+                       data-namespace-typo3-fluid="true">
 
 <f:layout name="Default" />
 
                <f:for each="{reports}" as="reportOverview" key="extensionKey">
                        <f:for each="{reportOverview}" key="reportName" as="report">
                                <dt>
-                                       <f:link.action action="detail" arguments="{extension:extensionKey,report:reportName}">
+                                       <a href="{be:moduleLink(route:'system_reports',arguments:{action:'detail', extension:extensionKey, report:reportName})}">
                                                <r:icon icon="{report.icon}" title="{f:translate(key:report.title)}" />
                                                <f:translate key="{report.title}" />
-                                       </f:link.action>
+                                       </a>
                                </dt>
                                <dd><f:translate key="{report.description}" /></dd>
                        </f:for>
                </f:for>
        </dl>
-</f:section>
\ No newline at end of file
+</f:section>