-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDefaultWithLink.html
More file actions
75 lines (72 loc) · 2.6 KB
/
DefaultWithLink.html
File metadata and controls
75 lines (72 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<f:comment>
<!--
A full element preview body, including links.
We render the CType label (if found) or the CType identifier in case there is no "Type" given in the element preview template.
If there is a "Type" section, we render the value instead, while formatting the section with "b_title".
If there is a "Fulltype" section in the element template, no rendering takes place for the title at all (use this to
remove the title including the line break completely, or for your own rendering).
-->
</f:comment>
<f:if condition="{editLink.contextual}">
<f:then>
<typo3-backend-contextual-record-edit-trigger
url="{editLink.contextual}"
edit-url="{editLink.url}"
title="{editLink.title}"
>
<f:render section="Fulltype" optional="true">
<span class="b_title">
<f:render section="Type" optional="true">
<f:render partial="Defaults/CTypeLabel" arguments="{_all}"/>
</f:render>
</span><br>
</f:render>
<f:render section="Header" optional="true">
<f:render partial="Defaults/Header" arguments="{_all}" />
</f:render>
<f:render section="Subheader" optional="true">
<f:render partial="Defaults/Subheader" arguments="{_all}" />
</f:render>
<f:render section="Fullmain" optional="true">
<div class="b_content">
<f:render section="Main"/>
<f:render section="Link" optional="true">
<f:render partial="Link" arguments="{link: link, linklabel: linklabel, config: linkconfig}" />
</f:render>
</div>
</f:render>
<f:render section="Warnings" optional="true"/>
</typo3-backend-contextual-record-edit-trigger>
</f:then>
<f:else>
<a href="{editLink.url}" title="{editLink.title}">
<f:render section="Fulltype" optional="true">
<span class="b_title">
<f:render section="Type" optional="true">
<f:render partial="Defaults/CTypeLabel" arguments="{_all}"/>
</f:render>
</span><br>
</f:render>
<f:render section="Header" optional="true">
<f:render partial="Defaults/Header" arguments="{_all}" />
</f:render>
<f:render section="Subheader" optional="true">
<f:render partial="Defaults/Subheader" arguments="{_all}" />
</f:render>
<f:render section="Fullmain" optional="true">
<div class="b_content">
<f:render section="Main"/>
<f:render section="Link" optional="true">
<f:render partial="Link" arguments="{link: link, linklabel: linklabel, config: linkconfig}" />
</f:render>
</div>
</f:render>
<f:render section="Warnings" optional="true"/>
</a>
</f:else>
</f:if>
</html>