Secretaria-Geral do Ministério do Trabalho, Solidariedade e Segurança Social

Skip to Content
We use cookies only to track site visits. We do not store personal data.
By continuing, you agree to our cookie usage policy.
Who we are

Management Instruments

Get to know our management tools.
An error occurred while processing the template.
Expression fileURL[5] is undefined on line 31, column 48 in 10155#10195#24014.
1<#if seccao.getSiblings()?has_content > 
2        <#list seccao.getSiblings() as topico> 
3            <section class="accordion-section accordion-conteudo-comum"> 
4                <div class="py-3 content__toggle js-accordion" tabindex="0"> 
5                    <h2 class="beta">${topico.Titulo_conteudo.getData()}</h2> 
6                    <span class="sr-only">${topico.Titulo_conteudo.getData()}</span> 
7                    <div class="icon-ss-plus-sign expand-stop-moving"> 
8            			<div class="icon"></div> 
9            			<#if locale.language == "pt"> 
10            			    <span>Detalhe</span> 
11            			<#else> 
12            			    <span>Details</span> 
13            			</#if> 
14        		    </div> 
15                </div> 
16                <div class="content__section pt-3"> 
17                    <div class="regular-content-wrapper"> 
18                        <div class="inside-content-wrapper tagline mb-2"> 
19                            ${topico.Conteudo.getData()} 
20                        </div> 
21                        <#if topico.attach_doc.getSiblings()?has_content > 
22                            <#assign count=1 /> 
23                            <#list topico.attach_doc.getSiblings() as doc> 
24                                <#if (doc.getData() != "")> 
25                                    <#assign 
26                                        serviceContext = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext() 
27                                        themeDisplay = serviceContext.getThemeDisplay() 
28                                        dlAppServiceUtil = staticUtil["com.liferay.portlet.documentlibrary.service.DLAppServiceUtil"] 
29                                 
30                                        fileURL = doc.getData()?split("/") 
31                                        uuid = fileURL[5]?split("?")[0] 
32                                        groupId = getterUtil.getLong(fileURL[2]) 
33                                    /> 
34                                    <#attempt> 
35                                        <#assign 
36                                            file = dlAppServiceUtil.getFileEntryByUuidAndGroupId(uuid, groupId) 
37                                            fileName = file.getTitle() 
38                                        /> 
39                                    <#recover> 
40                                        <#if locale.language == "pt"> 
41                                            <#assign fileName = "Ficheiro "+count> 
42                                        <#else> 
43                                            <#assign fileName = "File "+count> 
44                                        </#if> 
45                                    </#attempt> 
46                                    <div class="mb-2"> 
47                                        <a href="${doc.getData()}" target="_blank"> 
48                                            <div style="display:inline-block"> 
49                                                <div class="download-content-wrapper"> 
50                                                    <div> 
51                                                        <img src="/sg-theme/images/content/download-green.svg" alt="${fileName}" title="${fileName}"> 
52                                                    </div> 
53                                                    <div> 
54                                                        <div class="tagline--big"> 
55                                                            ${fileName} 
56                                                        </div> 
57                                                    </div> 
58                                                </div> 
59                                            </div> 
60                                        </a> 
61                                    </div> 
62                                    <#assign count=count+1 /> 
63                                </#if> 
64                            </#list> 
65                        </#if> 
66                    </div> 
67                </div> 
68            </section> 
69        </#list> 
70    </#if> 

This page has been translated automatically using a translation tool.