Programa de Pós-Graduação em Inovação Terapêutica (PPGIT)
Notícias
Um erro ocorreu enquanto processava o modelo.
No signature of method getDate matches the arguments
1<#assign liferay_ui = taglibLiferayHash["/WEB-INF/tld/liferay-ui.tld"] />
2<div class="list-full-content">
3 <#list entries as entry>
4
5 <#assign entry = entry />
6
7 <#assign assetRenderer = entry.getAssetRenderer() />
8
9 <#assign entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) />
10
11 <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)?split("?")[0] />
12
13 <#if assetLinkBehavior != "showFullContent">
14 <#assign viewURL = assetRenderer.getURLViewInContext(renderRequest, renderResponse, viewURL) />
15 </#if>
16
17 <#-- Obtendo elementos do journalArticle -->
18 <#assign journalArticle = assetRenderer.getArticle() />
19 <#assign document = saxReaderUtil.read(journalArticle.getContent()) />
20 <#assign rootElement = document.getRootElement() />
21
22 <#-- Formatos de data e hora -->
23 <#assign dateFormatDay = "dd/MM/yyyy" />
24 <#assign dateFormatHour = "HH:mm:ss" />
25
26 <div class="list-full-content__item">
27 <div class="lfr-meta-actions asset-actions">
28 <@getEditIcon />
29 </div>
30
31
32 <#-- Definir classe e fundo com imagem -->
33 <#if entry.getAssetRenderer().getThumbnailPath(renderRequest)?contains("/images/file_system/large/article.png") >
34 <#assign classImage = 'list-full-content--noImage' />
35 <#assign styleImage = '' />
36 <#else>
37 <#assign classImage = 'list-full-content--withImage' />
38 <#assign styleImage = 'style="background-image: url(${entry.getAssetRenderer().getThumbnailPath(renderRequest)});"' />
39 </#if>
40
41 <div class="list-full-content__image ${classImage}" ${styleImage} >
42 <div class="list-full-content__metadata">
43 <a href="${viewURL}">
44 <span class="list-full-content__date"><i class="icone-calendar"></i>${dateUtil.getDate(entry.getPublishDate(), dateFormatDay, locale)}</span>
45 <span class="list-full-content__hour"><i class="icone-clock-o"></i>${dateUtil.getDate(entry.getPublishDate(), dateFormatHour, locale)}</span>
46
47 <#-- Trazendo conteudo do campo Autor da estrutura e modelo Conteudo Completo -->
48 <#assign xPathSelector = saxReaderUtil.createXPath("dynamic-element[@name='fullContentAuthor']") />
49 <#if xPathSelector.selectSingleNode(rootElement)??>
50 <#assign fullContentAuthor = xPathSelector.selectSingleNode(rootElement).getStringValue()?trim />
51 </#if>
52 <#if fullContentAuthor?? && fullContentAuthor?has_content >
53 <span class="list-full-content__author">Por: ${fullContentAuthor}</span>
54 </#if>
55 </a>
56 </div>
57 </div>
58
59 <div class="list-full-content__content">
60 <h3 class="list-full-content__title">
61 <a href="${viewURL}">${entryTitle}</a>
62 </h3>
63 <div class="list-full-content__sumary">
64
65 <#if htmlUtil.escape(assetRenderer.getSummary(locale))?length < 150>
66
67 ${htmlUtil.escape(assetRenderer.getSummary(locale))?trim?substring(0,htmlUtil.escape(assetRenderer.getSummary(locale))?length)}
68 <#else>
69 ${htmlUtil.escape(assetRenderer.getSummary(locale))?trim?substring(0,150)}...
70 </#if>
71
72 </div>
73 </div>
74
75 </div>
76
77 </#list>
78</div>
79<#macro getEditIcon>
80 <#if assetRenderer.hasEditPermission(themeDisplay.getPermissionChecker())>
81 <#assign redirectURL = renderResponse.createRenderURL() />
82
83 ${redirectURL.setParameter("struts_action", "/asset_publisher/add_asset_redirect")}
84 ${redirectURL.setWindowState("pop_up")}
85
86 <#assign editPortletURL = assetRenderer.getURLEdit(renderRequest, renderResponse, windowStateFactory.getWindowState("pop_up"), redirectURL)!"" />
87
88 <#if validator.isNotNull(editPortletURL)>
89 <#assign title = languageUtil.format(locale, "edit-x", entryTitle) />
90
91 <@liferay_ui["icon"]
92 image="edit"
93 message=title
94 url="javascript:Liferay.Util.openWindow({dialog: {width: 960}, id:'" + renderResponse.getNamespace() + "editAsset', title: '" + title + "', uri:'" + htmlUtil.escapeURL(editPortletURL.toString()) + "'});"
95 />
96 </#if>
97 </#if>
98</#macro>
— 20 Items per Page
Centro de Biociências
Av. Prof. Moraes Rego, S/N – Cidade Universitária 50.670-420 – Recife – PE, 1º andar do prédio do Centro de Biociências – CB, UFPE.
ppgit.cb@ufpe.br (81) 2126 - 8947