[TASK] Optimize layout in cshmanuel help popup
[Packages/TYPO3.CMS.git] / typo3 / sysext / cshmanual / Resources / Private / Partials / Manual.html
1 {namespace csh=TYPO3\CMS\Cshmanual\ViewHelpers}
2 <a id="{manual.table}{f:if(condition:manual.field,then:'.{manual.field}')}"></a>
3
4 <h2>{manual.headerLine}</h2>
5
6 <p>{manual.content}</p>
7
8 <f:if condition="{manual.configuration.details}">
9 <h3>
10 <f:translate key="LLL:EXT:lang/locallang_view_help.xlf:details" />
11 </h3>
12 <csh:format>{manual.configuration.details}</csh:format>
13 </f:if>
14
15 <f:if condition="{manual.configuration.syntax}">
16 <h3>
17 <f:translate key="LLL:EXT:lang/locallang_view_help.xlf:syntax" />
18 </h3>
19 {manual.configuration.syntax}
20 </f:if>
21
22 <f:if condition="{manual.images}">
23 <f:for each="{manual.images}" as="image">
24 <div>
25 <img src="../{image.image}" class="img-responsive" />
26 <f:if condition="{image.description}">
27 <p>{image.description}</p>
28 </f:if>
29 </div>
30 </f:for>
31 {manual.configuration.syntax}
32 </f:if>
33
34 <f:if condition="{manual.seeAlso}">
35 <h3>
36 <f:translate key="LLL:EXT:lang/locallang_view_help.xlf:seeAlso" />
37 </h3>
38 <ul>
39 <f:for each="{manual.seeAlso}" as="link">
40 <li>
41 <f:if condition="{link.internal}">
42 <f:then>
43 <f:link.action action="detail" arguments="{link.arguments}">{link.title}</f:link.action>
44 </f:then>
45 <f:else>
46 <a href="{link.url}" target="{link.target}">{link.title}</a>
47 </f:else>
48 </f:if>
49
50 </li>
51 </f:for>
52 </ul>
53 </f:if>