An error occurred while processing the template.
Syntax error in template "20116#20152#2549722" in line 70, column 112:
Encountered "\" /> </span>\n                    </a>\n                </div>\n            \" />", but was expecting one of:
    ".."
    <DOT_DOT_LESS>
    "..*"
    "in"
    ">"
    <EMPTY_DIRECTIVE_END>
    "."
    "["
    "("
    "?"
    "!"
    <TERMINATING_EXCLAM>
    "??"
    "+"
    "-"
    "*"
    "/"
    "%"
    "!="
    "="
    "=="
    ">="
    <ESCAPED_GTE>
    ">"
    <ESCAPED_GT>
    <LESS_THAN_EQUALS>
    <LESS_THAN>
    <AND>
    <OR>
    ","
    <ID>
    <STRING_LITERAL> "="
    <STRING_LITERAL> "+="
    <STRING_LITERAL> "-="
    <STRING_LITERAL> "*="
    <STRING_LITERAL> "/="
    <STRING_LITERAL> "%="
    <STRING_LITERAL> "++"
    <STRING_LITERAL> "--"
1<#assign imagesPath = themeDisplay.getPathThemeImages()> 
2<#assign dateFormat = "d.M.yyyy" /> 
3<#assign timeFormat = "H.mm" /> 
4 
5<#assign layoutService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") /> 
6<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")> 
7<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
8<#assign DDMStructureLocalService = serviceLocator.findService("com.liferay.dynamic.data.mapping.service.DDMStructureLocalService")> 
9<#assign orderUtil = staticUtil["com.liferay.portal.kernel.util.OrderByComparatorFactoryUtil"] /> 
10<#assign AssetVocabularyService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 
11 
12<#if portletPreferences.portletSetupLinkToLayoutUuid?has_content> 
13    <#assign linkAppUrls = portletPreferences.portletSetupLinkToLayoutUuid[0] /> 
14    <#assign targetLayout = layoutService.fetchLayoutByUuidAndGroupId(linkAppUrls, themeDisplay.getScopeGroupId(), false) /> 
15    <#assign targetAssetPublisher = targetLayout.getTypeSettingsProperties().getProperty("default-asset-publisher-portlet-id") /> 
16 
17    <#assign targetInstance = targetAssetPublisher?keep_after_last("_") /> 
18</#if> 
19 
20 
21<#-- ///////////////////////////// --> 
22<#assign global_items = "" /> 
23<#assign globalScopeID = 20152 /> 
24<#assign local_items = "" /> 
25<#assign localScopeID = themeDisplay.getLayout().getGroupId() /> 
26<#assign show_local_items = 2 /> 
27<#assign i = 0 /> 
28<#assign totalArticlesVisible = 0 /> 
29 
30 
31<#if entries?has_content> 
32    <#list entries as entry> 
33 
34        <#if entry.assetRenderer??> 
35 
36            <#assign assetRenderer = entry.getAssetRenderer() /> 
37            <#assign journalArticle = assetRenderer.getArticle() /> 
38            <#assign viewUrl = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry) /> 
39            <#assign displayDate = dateUtil.getDate(journalArticle.displayDate, dateFormat, local) /> 
40 
41            <#assign stId = journalArticle.getDDMStructure().getStructureId() /> 
42 
43            <#assign docXML = saxReaderUtil.read(journalArticle.getContentByLocale(locale)) /> 
44            <#assign icon = docXML.valueOf("//dynamic-element[@name='icon']/dynamic-content/text()") /> 
45            <#assign linkText = docXML.valueOf("//dynamic-element[@name='linkText']/dynamic-content/text()") /> 
46            <#assign linkURL = docXML.valueOf("//dynamic-element[@name='linkURL']/dynamic-content/text()") /> 
47            <#assign linkTarget = docXML.valueOf("//dynamic-element[@name='linkTarget']/dynamic-content/text()") /> 
48 
49        <#-- Edit button for articles --> 
50            <#assign portletName = themeDisplay.getPortletDisplay().getPortletName()> 
51            <#assign plid = getterUtil.getLong(themeDisplay.getPlid())> 
52            <#assign portletURL = portletURLFactory.create(renderRequest, portletName, plid, "RENDER_PHASE")> 
53            <#assign windowState = windowStateFactory.getWindowState("POP_UP")> 
54            <#assign editURL = assetRenderer.getURLEdit(renderRequest,renderResponse,windowState, portletURL)> 
55 
56            <#assign local_edit_button = "" /> 
57            <#assign article_groupID = journalArticle.getGroupId() /> 
58 
59            <#if targetInstance?has_content> 
60                <#assign viewUrl = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)?keep_before("?") /> 
61            </#if> 
62 
63            <#if article_groupID == globalScopeID> 
64                <#if linkURL?has_content> 
65                    <#assign global_items += " 
66                <div class='item'> 
67                    <a href='${linkURL}'> 
68                        <img src='/o/um-theme/images/icons/services/${icon}.png' alt='' class=\'icon-${icon?replace(' ', '-', 'r')}\' /> 
69                        <span class='content'>${linkText}</span> 
70                        <span class='icon-arrow'> <img src='/o/um-theme/images/icons/arrow_dark-blue.svg' alt="" /> </span> 
71                    </a> 
72                </div> 
73            "/> 
74 
75                    <#assign totalArticlesVisible += 1 /> 
76                </#if> 
77            <#elseif article_groupID == localScopeID> 
78                <#if linkURL?has_content> 
79                    <#if i < show_local_items> 
80 
81                        <#if themeDisplay.isSignedIn()> 
82                            <#assign local_edit_button = " 
83                        <div class='edit-article'> 
84                            <a href='${editURL}' class='lfr-icon-item taglib-icon pull-right edit-article' data-title='Edit' title='Edit'> 
85                                <span class=''> 
86                                    <svg class='lexicon-icon lexicon-icon-pencil' focusable='false' role='img' title='' viewBox='0 0 512 512'> 
87                                    <path class='lexicon-icon-body' fill='none' d='M483,31C466.9,14.9,445.5,6,422.8,6s-44.1,8.9-60.2,24.9L4.1,389.4l4.4,115.3l119.9,1.2L483,151.4 
88                	C516.2,118.2,516.2,64.2,483,31L483,31z'></path> 
89                                    <path class='lexicon-icon-outline' d='M483,31C466.9,14.9,445.5,6,422.8,6s-44.1,8.9-60.2,24.9L4.1,389.4l4.4,115.3l119.9,1.2L483,151.4 
90                	C516.2,118.2,516.2,64.2,483,31L483,31z M105.1,449l-42-0.4l-1.4-36.5l274.4-274.4l40.1,40.1L105.1,449L105.1,449z M442.9,111.2 
91                	l-26.4,26.4l-40.1-40.1l26.4-26.4c10.7-10.7,29.4-10.7,40.1,0C453.9,82.2,453.9,100.2,442.9,111.2z'></path> 
92                                </svg> 
93                            </span> 
94                            <span class='taglib-text hide-accessible'>Edit</span> 
95                        </a> 
96                    </div> 
97                    " /> 
98                        </#if> 
99 
100                        <#assign local_items += " 
101                    <div class='item'> "/> 
102                        <#if local_edit_button?has_content > 
103                            <#assign local_items += "${local_edit_button}" /> 
104                            <#assign local_edit_button = '' /> 
105                        </#if> 
106 
107                        <#assign local_items += " 
108                                <a href='${linkURL}'> 
109                                    <img src='/o/um-theme/images/icons/services/${icon}.png' alt='' class=\'icon-${icon?replace(' ', '-', 'r')}\' /> 
110                                    <span class='content'>${linkText}</span> 
111                                    <span class='icon-arrow'> <img src='/o/um-theme/images/icons/arrow_dark-blue.svg' alt="" /> </span> 
112                                </a> 
113                            </div> 
114                        "/> 
115 
116                        <#assign i += 1 /> 
117                        <#assign totalArticlesVisible += 1 /> 
118                    </#if> 
119                </#if> 
120            </#if> 
121        </#if> 
122    </#list> 
123 
124    <div class="box-list box-services items-${totalArticlesVisible}"> 
125        ${local_items} 
126        ${global_items} 
127    </div> 
128 
129    <style> 
130        /* .box-services .item{ background: #91c8eb; padding: 20px 14px;} */ 
131        .box-services .item a{ font-family: "finlandica","Georgia";} 
132    </style> 
133</#if> 

Email [email protected]
Tel. +82 (0)2 370 103 00

Honorary consulates complement Finland's network of missions abroad.

24/7 service
+358 9 1605 5555
[email protected]

Assistance of Finnish nationals in distress abroad. No visa inquiries. Phone calls will be recorded.

Social media

thisisFINLAND