[!!!][TASK] Move service report from EXT:sv to EXT:reports
[Packages/TYPO3.CMS.git] / typo3 / sysext / reports / Resources / Private / Templates / ServicesListReport.html
1 <p class="lead">
2 <f:translate key="report_explanation" />
3 </p>
4 <p class="help">
5 <f:translate key="externals_explanation" />
6 </p>
7
8 <f:for each="{servicesList}" as="serviceList">
9 <f:render section="ServiceTypeList" arguments="{serviceList: serviceList}" />
10 </f:for>
11
12 <h3><f:translate key="search_paths" /></h3>
13 <f:if condition="{searchPaths}">
14 <f:then>
15 <table class="table table-striped table-hover tx_sv_reportlist">
16 <thead>
17 <tr>
18 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:path" /></td>
19 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:valid" /></td>
20 </tr>
21 </thead>
22 <tbody>
23 <f:for each="{searchPaths}" as="searchPath">
24 <tr class="{searchPath.class}">
25 <td class="first-cell">{searchPath.path}</td>
26 <td class="last-cell"><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:{searchPath.accessible}" /></td>
27 </tr>
28 </f:for>
29 </tbody>
30 </table>
31 </f:then>
32 <f:else>
33 <p><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:no_search_paths" /></p>
34 </f:else>
35 </f:if>
36
37
38 <f:section name="ServiceTypeList">
39 <h3>{serviceList.Type}</h3>
40 <table class="table table-striped table-hover tx_sv_reportlist">
41 <thead>
42 <tr>
43 <td style="width: 35%"><f:translate key="service" /></td>
44 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:priority" /></td>
45 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:quality" /></td>
46 <td style="width: 35%"><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:subtypes" /></td>
47 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:os" /></td>
48 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:externals" /></td>
49 <td><f:translate key="LLL:EXT:reports/Resources/Private/Language/locallang_servicereport.xlf:available" /></td>
50 </tr>
51 </thead>
52 <tbody>
53 <f:for each="{serviceList.Services}" as="service">
54 <f:render section="ServiceRow" arguments="{service: service}" />
55 </f:for>
56 </tbody>
57 </table>
58 </f:section>
59
60 <f:section name="ServiceRow">
61 <tr class="service {service.AvailabilityClass}">
62 <td class="first-cell">{service.Description}
63 <p class="service-header">
64 <span class="service-title">{service.Information.title}</span> ({service.Information.extKey}: {service.Key})
65 </p>
66 <f:if condition="{service.Information.description}">
67 <p class="service-description">{service.Information.description}</p>
68 </f:if>
69 </td>
70 <td class="cell">{service.Information.priority}</td>
71 <td class="cell">{service.Information.quality}</td>
72 <td class="cell">{service.Subtypes}</td>
73 <td class="cell">{service.OperatingSystem}</td>
74 <td class="cell">{service.RequiredExecutables}</td>
75 <td class="last-cell">{service.Available}</td>
76 </tr>
77 </f:section>