[TASK] Forbid media sections overlap when missing description
[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 <h1>TYPO3 CMS {TYPO3Version}<br />
5 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext" />
6 </h1>
7
8 <p class="lead">
9 <f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:introtext2" />
10 </p>
11
12 {warningMessages -> f:format.raw()}
13
14 <f:for each="{modules}" as="mainModule">
15 <h2>{mainModule.label}</h2>
16
17 <f:for each="{mainModule.subModules}" as="subModule" iteration="subModuleIterator">
18 <div class="media clearfix">
19 <a
20 href="#"
21 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
22 title="{subModule.shortDescription}"
23 class="pull-left"
24 >
25 <span class="typo3-app-icon">
26 <span>
27 <span>
28 <f:image src="{subModule.icon}" alt="{subModule.label}" class="media-object" maxWidth="64" maxHeight="64" />
29 </span>
30 </span>
31 </span>
32 </a>
33
34 <div class="media-body">
35 <strong>
36 <a
37 href="#"
38 onclick="top.goToModule('{mainModule.name}_{subModule.name}'); return false;"
39 title="{subModule.shortDescription}"
40 >{subModule.label}</a>
41 </strong><br>
42
43 <f:if condition="{subModule.shortDescription}">
44 <small class="text-muted">{subModule.shortDescription}</small><br>
45 </f:if>
46
47 {subModule.longDescription -> f:format.raw()}
48 </div>
49 </div>
50
51 </f:for>
52 </f:for>
53
54 <p class="end-text text-info">
55 <em>
56 (<f:translate key="LLL:EXT:lang/locallang_alt_intro.xlf:endText" />)
57 </em>
58 </p>
59
60 <p>
61 <small>
62 {copyRightNotice -> f:format.raw()}
63 </small>
64 </p>
65
66 </f:section>