Safety Health and Environment - Messer Vardar Tehnogas
Breadcrumb
Безбедност на производот
СЕ ЗА БЕЗБЕДНОСТ НА ГАСОВИТЕ
Техничка документација - Безбедносни листови - Документација за безбедно ракување со гасови
Nested Applications
Asset Publisher
Content with Alphabet M .
An error occurred while processing the template.
The following has evaluated to null or missing: ==> assetRenderer.getThumbnailPath(renderRequest) [in template "20099#20136#3741774" at line 22, column 26] ---- Tip: If the failing expression is known to be 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: imgURL = assetRenderer.getThumbnailPa... [in template "20099#20136#3741774" at line 22, column 17] - Reached through: #assign-container [in template "20099#20136#3741774" at line 16, column 9] ----
1<#assign dlUtil = staticUtil["com.liferay.document.library.kernel.util.DLUtil"] />
2
3<#if !entries?has_content>
4 <#if !themeDisplay.isSignedIn()>
5 ${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)}
6 </#if>
7
8 <div class="alert alert-info">
9 <@liferay_ui["message"] key="there-are-no-results" />
10 </div>
11</#if>
12<table border="0" cellpadding="5" cellspacing="0" sizcache="8" sizset="0" style="width: 100%; border: 0px solid #000000;">
13 <tbody sizcache="8" sizset="0">
14
15<#list entries as entry>
16 <#assign
17 assetRenderer = entry.getAssetRenderer()
18 entryTitle = entry.getTitle(locale)
19 entryDescription = entry.getSummary(locale)
20 dlFileEntryId = assetRenderer.getClassPK()
21 url = assetRenderer.getURLDownload(themeDisplay)
22 imgURL = assetRenderer.getThumbnailPath(renderRequest) />
23
24 <tr>
25 <td align="center" style="width: 150px; height: 110px;">
26 <p>
27 <a href="${url}" target="_blank" title="${entryTitle}">
28 <img src="${imgURL}" style="max-height: 110px;box-shadow: 0 12px 24px -6px rgba(0,0,0,0.25); border-radius: 4px;"/>
29 </a>
30 </p>
31 </td>
32 <td>
33 <p style="font-size: 14px;">
34 <a href="${url}" style="text-decoration: none;color: #002d73;" target="_blank" title="${entryTitle}" >
35 <strong>${entryTitle}</strong>
36 </a>
37 </p>
38 <p style="font-size: 14px;color: #666;"><i>${htmlUtil.escape(assetRenderer.getSummary(renderRequest, renderResponse))}</i></p>
39 </td>
40
41
42 </tr>
43</#list>
44
45 </tbody>
46</table>