[TASK] Deprecate jQuery and extJS arguments for BE viewhelpers
[Packages/TYPO3.CMS.git] / typo3 / sysext / taskcenter / Resources / Private / Templates / ListMenu.html
1 <f:if condition="{mainMenu}">
2 <f:then>
3 <f:be.pageRenderer includeRequireJsModules="{0:'TYPO3/CMS/Taskcenter/Taskcenter'}" />
4 <ul id="task-list" class="list-unstyled">
5 </f:then>
6 <f:else>
7 <ul class="list-unstyled">
8 </f:else>
9 </f:if>
10 <f:for each="{items}" as="item" key="itemKey">
11 <f:render section="Item" arguments="{item: item, itemKey: itemKey}" />
12 </f:for>
13
14 </ul>
15
16 <f:section name="Item">
17 <li id="el_{item.uniqueKey}">
18 <div id="{item.contentId}" data-taskcenter-id="{item.uniqueKey}" class="panel {item.panelState}">
19 <div class="panel-heading">
20 <div class="panel-heading-right">
21 <a href="#task_content_{item.contentId}" class="panel-header-collapse t3js-taskcenter-header-collapse" role="button" data-toggle="collapse" data-uid="{item.contentId}" aria-expanded="{item.ariaExpanded}">
22 <core:icon identifier="{item.collapseIcon}" />
23 </a>
24 </div>
25 <div class="panel-heading-left">
26 <a href="{item.link}" class="panel-title">
27 <f:if condition="{item.icon}">
28 <span class="panel-title-icon">
29 <f:if condition="{item.iconFile}">
30 <f:then>
31 <img src="{item.iconFile}" width="16" height="16" title="{item.title}" alt="{item.title}" />
32 </f:then>
33 <f:else>
34 {item.icon -> f:format.raw()}
35 </f:else>
36 </f:if>
37 </span>
38 </f:if>
39 <span class="panel-title-name">
40 {item.title}
41 <core:icon identifier="actions-view-table-expand" />
42 </span>
43 </a>
44 </div>
45 </div>
46 <div id="task_content_{item.contentId}" class="panel-collapse collapse t3js-taskcenter-collapse {item.collapsed}" aria-expanded="true">
47 <div class="panel-body">
48 <f:if condition="{item.descriptionHtml}">
49 <f:then>
50 {item.descriptionHtml -> f:format.raw()}
51 </f:then>
52 <f:else>
53 <p>
54 {item.description -> f:format.nl2br()}
55 </p>
56 </f:else>
57 </f:if>
58 </div>
59 </div>
60 </div>
61 </li>
62 </f:section>