18c3c0f912a6df7262b8d04329115d6f193828f5
[Packages/TYPO3.CMS.git] / typo3 / sysext / opendocs / Resources / Private / Templates / DropDown.html
1 <f:be.pageRenderer loadJQuery="false" includeRequireJsModules="{0:'TYPO3/CMS/Opendocs/Toolbar/OpendocsMenu'}" />
2
3 <h3 class="dropdown-headline">
4 {f:translate(key: 'toolbaritem', extensionName: 'opendocs')}
5 </h3>
6 <hr>
7
8 <f:if condition="{noDocs}">
9 <f:then>
10 <p><f:translate key="no_docs" extensionName="opendocs"/></p>
11 </f:then>
12 <f:else>
13 <f:if condition="{openDocuments}">
14 <h3 class="dropdown-headline">
15 <f:translate key="open_docs" extensionName="opendocs"/>
16 </h3>
17 <div class="dropdown-table">
18 <f:for each="{openDocuments}" as="openDocument">
19 <div class="dropdown-table-row t3js-topbar-opendocs-item">
20 <div class="dropdown-table-column dropdown-table-icon">
21 <core:iconForRecord table="{openDocument.table}" row="{openDocument.record}" />
22 </div>
23 <div class="dropdown-table-column dropdown-table-title">
24 <a class="dropdown-table-title-ellipsis" href="#" onclick="{openDocument.onClickCode}" target="contentIframe">
25 {openDocument.label}
26 </a>
27 </div>
28 <div class="dropdown-table-column dropdown-table-actions">
29 <a href="#" class="dropdown-table-actions-btn dropdown-table-actions-btn-close t3js-topbar-opendocs-close" data-opendocsidentifier="{openDocument.md5sum}" title="{f:translate(key: 'LLL:EXT:lang/Resources/Private/Language/locallang_core.xlf:rm.closeDoc')}">
30 <core:icon identifier="actions-close" alternativeMarkupIdentifier="inline" />
31 </a>
32 </div>
33 </div>
34 </f:for>
35 </div>
36 <hr>
37 </f:if>
38 <f:if condition="{recentDocuments}">
39 <h3 class="dropdown-headline">
40 <f:translate key="recent_docs" extensionName="opendocs"/>
41 </h3>
42 <div class="dropdown-table">
43 <f:for each="{recentDocuments}" as="recentDocument">
44 <div class="dropdown-table-row t3js-topbar-recentdoc">
45 <div class="dropdown-table-column dropdown-table-icon">
46 <core:iconForRecord table="{recentDocument.table}" row="{recentDocument.record}" />
47 </div>
48 <div class="dropdown-table-column dropdown-table-title">
49 <a class="dropdown-table-title-ellipsis" href="#" onclick="{recentDocument.onClickCode}" target="contentIframe">
50 {recentDocument.label}
51 </a>
52 </div>
53 </div>
54 </f:for>
55 </div>
56 </f:if>
57 </f:else>
58 </f:if>