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