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