[TASK] Fluid: Register "core" namespace globally
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / ContentElement / ElementInformation.html
1 <h1>
2 <f:if condition="{table}">
3 <small>{table}</small><br />{icon -> f:format.raw()}{title}
4 </f:if>
5 </h1>
6 <f:if condition="{missingFile}">
7 <f:be.infobox title="{f:translate(key:'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:warning.file_missing')}" state="1">{missingFile}</f:be.infobox>
8 </f:if>
9 <f:if condition="{fileRenderer}">
10 <p>
11 {fileRenderer -> f:format.raw()}
12 </p>
13 </f:if>
14 <f:if condition="{fileObject}">
15 <p>
16 <f:media file="{fileObject}"
17 width="{width}"
18 height="{height}"
19 />
20 </p>
21 </f:if>
22 <f:if condition="{url}">
23 <p>
24 <a class="btn btn-default" href="{url}" target="_blank">
25 <core:icon identifier="actions-document-view" size="small" alternativeMarkupIdentifier="inline" />
26 <f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:labels.show" />
27 </a>
28 </p>
29 </f:if>
30 <div class="table-fit table-fit-wrap">
31 <table class="table table-striped table-hover">
32 <f:for each="{extraFields}" as="extraField">
33 <f:render section="extraFieldRow" arguments="{row: extraField}" />
34 </f:for>
35 <f:for each="{fields}" as="field">
36 <f:render section="fieldRow" arguments="{row: field}" />
37 </f:for>
38 </table>
39 </div>
40 <f:if condition="{returnUrl}">
41 <a class="btn btn-primary" href="{returnUrl}">
42 <core:icon identifier="actions-view-go-back" size="small" />
43 <f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_common.xlf:back" />
44 </a>
45 </f:if>
46 <f:if condition="{refLines}">
47 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.referencesToThisItem" /></h3>
48 <div class="table-fit">
49 <table class="table table-striped table-hover">
50 <thead>
51 <tr>
52 <th class="col-icon"></th>
53 <th class="col-title"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.title" /></th>
54 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.table" /></th>
55 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.uid" /></th>
56 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.field" /></th>
57 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.flexpointer" /></th>
58 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.softrefKey" /></th>
59 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.sorting" /></th>
60 <th class="col-control"></th>
61 </tr>
62 </thead>
63 <tbody>
64 <f:for each="{refLines}" as="refLine">
65 <f:render section="refLineRow" arguments="{line: refLine}" />
66 </f:for>
67 </tbody>
68 </table>
69 </div>
70 </f:if>
71 <f:if condition="{refFromLines}">
72 <h3><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.referencesFromThisItem" /></h3>
73 <div class="table-fit">
74 <table class="table table-striped table-hover">
75 <thead>
76 <tr>
77 <th class="col-icon"></th>
78 <th class="col-title"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.title" /></th>
79 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.table" /></th>
80 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.uid" /></th>
81 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.field" /></th>
82 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.flexpointer" /></th>
83 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.softrefKey" /></th>
84 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.sorting" /></th>
85 <th><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.refString" /></th>
86 <th class="col-control"></th>
87 </tr>
88 </thead>
89 <tbody>
90 <f:for each="{refFromLines}" as="refFromLine">
91 <f:render section="refFromLineRow" arguments="{line: refFromLine}" />
92 </f:for>
93 </tbody>
94 </table>
95 </div>
96 </f:if>
97
98
99 <f:section name="extraFieldRow">
100 <tr>
101 <th class="col-nowrap">{row.fieldLabel}</th>
102 <td>
103 <f:if condition="{row.creatorRecord}">
104 <div class="media">
105 <div class="media-left">
106 {row.creatorRecord.icon -> f:format.raw()}
107 </div>
108 <div class="media-body">
109 <strong>{row.creatorRecord.username}</strong><br>
110 {row.creatorRecord.realName}
111 </div>
112 </div>
113 </f:if>
114 <f:if condition="{row.value}">
115 {row.value}
116 </f:if>
117 </td>
118 </tr>
119 </f:section>
120
121 <f:section name="fieldRow">
122 <tr>
123 <th class="col-nowrap">{row.fieldLabel}</th>
124 <td>{row.fieldValue}</td>
125 </tr>
126 </f:section>
127
128 <f:section name="refLineRow">
129 <tr>
130 <f:if condition="{line.record}">
131 <f:then>
132 <td class="col-icon"><a href="{line.url}" title="id={line.record.uid}">{line.icon -> f:format.raw()}</a></td>
133 <td class="col-title"><a href="{line.url}" title="id={line.record.uid}" >{line.recordTitle}</a></td>
134 <td>{line.title}</td>
135 <td><span title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_common.xlf:page')}: {line.parentRecordTitle} (uid={line.record.pid})">
136 {line.record.uid}
137 </span></td>
138 </f:then>
139 <f:else>
140 <td class="col-icon"></td>
141 <td class="col-title"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.missing_record" /> (uid={line.row.recuid}</td>
142 <td>{line.row.title}</td>
143 <td></td>
144 </f:else>
145 </f:if>
146 <td>{line.labelForTableColumn}</td>
147 <td>{line.row.flexpointer}</td>
148 <td>{line.row.softref_key}</td>
149 <td>{line.row.sorting}</td>
150 <td class="col-control">
151 <f:render section="action" arguments="{line: line.actions}" />
152 </td>
153 </tr>
154 </f:section>
155
156 <f:section name="refFromLineRow">
157 <tr>
158 <f:if condition="{line.record}">
159 <f:then>
160 <td class="col-icon"><a href="{line.url}" title="id={line.record.uid}">{line.icon -> f:format.raw()}</a></td>
161 <td class="col-title"><a href="{line.url}" title="id={line.record.uid}" >{line.recordTitle}</a></td>
162 <td>{line.title}</td>
163 <td>{line.row.ref_uid}</td>
164 </f:then>
165 <f:else>
166 <td class="col-icon"></td>
167 <td class="col-title"><f:translate key="LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:show_item.php.missing_record" /> (uid={line.row.recuid}</td>
168 <td>{line.row.title}</td>
169 <td></td>
170 </f:else>
171 </f:if>
172 <td>{line.labelForTableColumn}</td>
173 <td>{line.row.flexpointer}</td>
174 <td>{line.row.softref_key}</td>
175 <td>{line.row.sorting}</td>
176 <td>{line.row.ref_string}</td>
177 <td class="col-control">
178 <f:render section="action" arguments="{line: line.actions}" />
179 </td>
180 </tr>
181 </f:section>
182
183 <f:section name="action">
184 <div class="btn-group" role="group">
185 <f:if condition="{line.webListUrl}">
186 <a class="btn btn-default btn-sm" href="#" onclick="{line.viewOnClick}" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_common.xlf:labels.showPage')}">
187 <core:icon identifier="actions-document-view" size="small" />
188 </a>
189 </f:if>
190 <a class="btn btn-default btn-sm" href="{line.recordEditUrl}">
191 <core:icon identifier="actions-open" size="small" />
192 </a>
193 </div>
194 <div class="btn-group" role="group">
195 <a class="btn btn-default btn-sm" href="{line.recordHistoryUrl}">
196 <core:icon identifier="actions-document-history-open" size="small" />
197 </a>
198 </div>
199 <f:if condition="{line.webListUrl}">
200 <div class="btn-group" role="group">
201 <a class="btn btn-default btn-sm" href="{line.webListUrl}" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_common.xlf:labels.showList')}">
202 <core:icon identifier="actions-system-list-open" size="small" />
203 </a>
204 </div>
205 </f:if>
206 </f:section>