PanelItem.html 2.42 KB
Newer Older
1
2
3
4
<html
    xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
    xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers"
    data-namespace-typo3-fluid="true">
5

6
<div class="t3js-upgrade-doc panel panel-rst panel-{fileArray.class} risk-medium item" data-item-tags="{fileArray.tagList}" data-item-version="{fileArray.version}" data-item-state="{state}" id="heading{id}">
7
8
9
10
    <div class="panel-heading" role="tab">
        <h3 class="panel-title">
            <f:if condition="{read}">
                <f:then>
11
                    <button type="button" class="btn btn-link link-action t3js-upgradeDocs-unmarkRead pull-right" data-filepath="{fileArray.filepath}" data-bs-toggle="tooltip" data-bs-placement="top" title="Mark as not read">
12
13
                        <i class="fa fa-lg fa-ban"></i>
                        <span class="sr-only">restore this document</span>
14
                    </button>
15
16
                </f:then>
                <f:else>
17
                    <button type="button" class="btn btn-link link-action t3js-upgradeDocs-markRead pull-right" data-filepath="{fileArray.filepath}" data-bs-toggle="tooltip" data-bs-placement="top" title="Mark as read">
18
19
                        <i class="fa fa-lg fa-check"></i>
                        <span class="sr-only">ignore this document</span>
20
                    </button>
21
22
                </f:else>
            </f:if>
23
            <a role="button" data-bs-toggle="collapse" href="#collapse{id}" aria-expanded="true" aria-controls="collapse{id}" class="collapsed">
24
25
26
27
28
29
30
                <span class="caret"></span>
                <strong>{fileArray.headline}</strong>
            </a>
        </h3>
    </div>
    <div id="collapse{id}" class="panel-collapse collapse" role="tabpanel" aria-labelledby="heading{id}">
        <div class="rst-tags t3js-tags"></div>
31
        <div class="rst-links">
32
33
34
            <f:if condition="{fileArray.url.issue}">
                <a href="{fileArray.url.issue}" target="_blank" rel="noreferrer" class="nowrap"><core:icon identifier="actions-window-open" /> Open issue</a>
            </f:if>
35
36
37
38
            <f:if condition="{fileArray.url.documentation}">
                <a href="{fileArray.url.documentation}" target="_blank" rel="noreferrer" class="nowrap"><core:icon identifier="actions-window-open" /> Open rendered version</a>
            </f:if>
        </div>
39
        <pre class="panel-body"><f:format.raw>{fileArray.parsedContent}</f:format.raw></pre>
40
    </div>
41
</div>
42
43

</html>