displayinfo.html
5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!--/*
ADOBE CONFIDENTIAL
__________________
Copyright 2015 Adobe Systems Incorporated
All Rights Reserved.
NOTICE: All information contained herein is, and remains
the property of Adobe Systems Incorporated and its suppliers,
if any. The intellectual and technical concepts contained
herein are proprietary to Adobe Systems Incorporated and its
suppliers and are protected by trade secret or copyright law.
Dissemination of this information or reproduction of this material
is strictly forbidden unless prior written permission is obtained
from Adobe Systems Incorporated.
*/-->
<sly data-sly-use.helper="../display.js"
data-sly-use.format="../../helper.format.html"/>
<div class="foundation-selections-item">
<h1 class="screens-dashboard-Tile-title screens-Display-title" itemprop="name">${helper.properties['jcr:title']}</h1>
<div class="screens-dashboard-Tile-subtitle screens-Display-description" itemprop="description" data-sly-test="${helper.properties['jcr:description']}">${helper.properties['jcr:description']}</div>
<h2 class="screens-dashboard-Tile-sectiontitle">${'Properties' @ i18n, locale=request.locale}</h2>
<table is="coral-table">
<tbody is="coral-table-body">
<tr is="coral-table-row">
<th is="coral-table-headercell">${'Current Channel:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-activechannel">
<sly data-sly-test.channel="${helper.activeChannel}">${channel.jcr:title}</sly>
<sly data-sly-test="${!channel}">${'auto' @ i18n, locale=request.locale}</sly>
<button title="${'Edit the active channel' @ i18n, locale=request.locale}"
is="coral-button" icon="edit" variant="minimal" iconsize="XS"
class="foundation-collection-action screens-dcc-actions-Display-activechannel-activator"
data-foundation-collection-action="{"target":".screens-Display","action":"foundation.dialog","data":{"nesting":"hide","src":"${request.contextPath}/mnt/overlay/screens/dcc/content/changeactivechanneldialog.html${request.requestPathInfo.suffix}"}}">
</button>
</td>
</tr>
<tr
is="coral-table-row"
data-sly-test.resolution="${helper.properties.resolution}">
<th is="coral-table-headercell">${'Resolution:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-resolution"><sly data-sly-call="${format.resolution @ resolution=helper.properties.resolution}"/></td>
</tr>
<tr
is="coral-table-row"
data-sly-test.resolutionAlt="${!resolution && helper.properties.width && helper.properties.height}">
<th is="coral-table-headercell">${'Resolution:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-resolution"><sly data-sly-call="${format.resolution @ width=helper.properties.width, height=helper.properties.height}"/></td>
</tr>
<tr
is="coral-table-row"
data-sly-test.resolutionAlt="${!resolution && !resolutionAlt}">
<th is="coral-table-headercell">${'Resolution:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-resolution">${'n/a' @ i18n, locale=request.locale}</td>
</tr>
<tr
is="coral-table-row"
data-sly-test.lastModified="${helper.properties.cq:lastModified || helper.properties.jcr:created}">
<th is="coral-table-headercell">${'Last Modified:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-lastmodified" itemprop="dateModified">
<sly data-sly-call="${format.datetime @ datetime=lastModified}"/>
</td>
</tr>
<tr
is="coral-table-row"
data-sly-test.lastReplicated="${helper.properties.cq:lastReplicated}">
<th is="coral-table-headercell">${'Last Published:' @ i18n, locale=request.locale}</th>
<td is="coral-table-cell" class="screens-Display-lastpublished" itemprop="datePublished">
<sly data-sly-call="${format.datetime @ datetime=lastReplicated}"/>
</td>
</tr>
</tbody>
</table>
<sly data-sly-test="${channel.path}">
<h2 class="screens-dashboard-Tile-sectiontitle">${'Preview' @ i18n, locale=request.locale}</h2>
<img class="screens-Display-image" itemprop="image" src="${request.contextPath}${channel.path}.thumb.319.319.png" alt=""/>
</sly>
<em data-sly-test="${helper.properties.isEmpty}">${'No content page has been set for this helper' @ i18n, locale=request.locale}</em>
</div>