تبریک و تسلیت
نمایشگر دسته ای مطالب
در حین انجام عملیات خطایی رخ داده است.
The following has evaluated to null or missing: ==> assetRenderer.getThumbnailPath(renderRequest) [in template "20097#20123#3521657" at line 101, column 46] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${assetRenderer.getThumbnailPath(rend... [in template "20097#20123#3521657" at line 101, column 44] ----
1<#if !entries?has_content>
2 <#if !themeDisplay.isSignedIn()>
3 ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)}
4 </#if>
5
6<div class="alert alert-info">
7<@liferay_ui["message"] key="there-are-no-results" />
8 </div>
9</#if>
10<style>
11 .slide-show-tasnim {
12 display: inline-block;
13 width: 100%;
14 margin-top: -10px;
15}
16
17.slide-show-tasnim .list a {
18 display: block;
19 clear: both;
20 margin-top: 10px;
21 float: right;
22 width: 95%;
23 padding: 5px;
24 border-bottom: 1px solid #DDD;
25 color: #333;
26}
27
28.slide-show-tasnim .list a:hover {
29 background: #0391cc;
30 color: #FFF;
31 -webkit-transition: all .3s ease-out;
32 -moz-transition: all .3s ease-out;
33 -ms-transition: all .3s ease-out;
34 -o-transition: all .3s ease-out;
35 transition: all .3s ease-out;
36}
37
38.slide-show-tasnim .list a img {
39 width: 50px;
40 height: 40px;
41 padding: 2px;
42 background: none;
43 float: right;
44 margin-left: 5px;
45}
46
47.slide-show-tasnim .current img {
48 width: 95%;
49 max-height: 200px;
50 margin-right: 5px;
51 object-fit: contain;
52}
53
54.slide-show-tasnim .list a p {
55 padding: 5px;
56 text-align: justify;
57 font-size: 17px;
58 line-height: 20px;
59 margin-bottom: 0;
60}
61
62.slide-show-tasnim img {
63 -webkit-transform: scale(1) rotate(0deg);
64 -webkit-transition: all .4s ease 0s;
65 -moz-transform: scale(1) rotate(0deg);
66 -moz-transition: all .4s ease 0s;
67 -ms-transform: scale(1) rotate(0deg);
68 -ms-transition: all .4s ease 0s;
69 -o-transform: scale(1) rotate(0deg);
70 -o-transition: all .4s ease 0s;
71 transform: scale(1) rotate(0deg);
72 transition: all .4s ease 0s;
73}
74
75.slide-show-tasnim img:hover {
76 -webkit-transform: scale(1.03) rotate(-2deg);
77 -webkit-transition: all .4s ease 0s;
78 -moz-transform: scale(1.03) rotate(-2deg);
79 -moz-transition: all .4s ease 0s;
80 -ms-transform: scale(1.03) rotate(-2deg);
81 -ms-transition: all .4s ease 0s;
82 -o-transform: scale(1.03) rotate(-2deg);
83 -o-transition: all .4s ease 0s;
84 transform: scale(1.03) rotate(-2deg);
85 transition: all .4s ease 0s;
86}
87
88</style>
89<div class="slide-show-tasnim">
90 <div class="list">
91 <#list entries as entry>
92 <#assign
93 entry = entry
94
95 assetRenderer = entry.getAssetRenderer()
96
97 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))
98
99 viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent"))
100 />
101 <a href="${viewURL}"><img src="${assetRenderer.getThumbnailPath(renderRequest)}">
102 <div></div>
103 <p> ${entryTitle} </p>
104 </a>
105 </#list>
106 </div>
107
108</div>