[TASK] Use ModuleTemplate API for EXT:aboutmodules
[Packages/TYPO3.CMS.git] / typo3 / sysext / aboutmodules / Resources / Private / Templates / Modules / Index.html
1 <f:layout name="Default" />
2
3 <f:section name="Content">
4 <div class="typo3-aboutmodules-inner-docbody">
5 <h1>TYPO3 CMS {TYPO3Version}<br />
6 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext" />
7 </h1>
8
9 <p class="lead">
10 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext2" />
11 </p>
12
13 {warningMessages -> f:format.raw()}
14
15 <f:for each="{modules}" as="mainModule">
16 <f:if condition="{mainModule.subModules}">
17 <h2>{mainModule.label}</h2>
18 <div class="container-fuid">
19 <div class="row">
20 <f:for each="{mainModule.subModules}" as="subModule" iteration="subModuleIterator">
21 <div class="col-xs-12 col-sm-6">
22 <div class="submodule media clearfix">
23 <a
24 href="#"
25 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
26 title="{subModule.shortDescription}"
27 class="pull-left"
28 >
29 <span class="typo3-app-icon">
30 <span>
31 <span>
32 <img src="../{subModule.icon}" alt="{subModule.label}" class="media-object" />
33 </span>
34 </span>
35 </span>
36 </a>
37
38 <div class="media-body">
39 <strong>
40 <a
41 href="#"
42 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
43 title="{subModule.shortDescription}"
44 >{subModule.label}</a>
45 </strong><br>
46
47 <f:if condition="{subModule.shortDescription}">
48 <small class="text-muted">{subModule.shortDescription}</small><br>
49 </f:if>
50
51 {subModule.longDescription -> f:format.raw()}
52 </div>
53 </div>
54 </div>
55
56 <f:if condition="{subModuleIterator.isEven}">
57 <f:if condition="{subModuleIterator.isLast} == 0">
58 </div><div class="row">
59 </f:if>
60 </f:if>
61 </f:for>
62 </div>
63 </div>
64 </f:if>
65 </f:for>
66
67 <p class="end-text text-info">
68 <em>
69 (<f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:endText" />)
70 </em>
71 </p>
72
73 <p>
74 <small>
75 {copyRightNotice -> f:format.raw()}
76 </small>
77 </p>
78
79 </div>
80 </f:section>