Back

What is the re-registration deadline?

An error occurred while processing the template.
Expression orts_level_1_id is undefined on line 68, column 27 in 10157#10197#761482.
1<#-- 
2Application display templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<style> 
9    .aui span.tag2 { 
10    	display: inline-block;  
11    	border-radius: .25em; 
12    	background-image: linear-gradient(#DBEAFA 0%, #DBEAFA 47%, #E2EEFB 100%); 
13 
14        padding: 0.25em .5em; 
15
16     
17    .aui .meta-info { 
18        font-size:11px; 
19
20     
21    @media (max-width: 979px) { 
22        .aui .meta-info { 
23            display:none; 
24
25
26     
27    .aui .asset-abstract { 
28        margin-bottom:0.5em; 
29
30     
31    .aui .row-fluid .asset-abstract [class*="span"] { 
32        margin-left:0px; 
33
34 
35</style> 
36 
37<#assign journalArticleResourceService = serviceLocator.findService("com.liferay.portlet.journal.service.JournalArticleResourceLocalService") /> 
38<#assign catLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryLocalService") /> 
39<#assign longGroupId = getterUtil.getLong(groupId) /> 
40<#assign articleResourcePK = journalArticleResourceService.getArticleResourcePrimKey(longGroupId, .vars['reserved-article-id'].data) /> 
41<#assign categories = catLocalService.getCategories("com.liferay.portlet.journal.model.JournalArticle", articleResourcePK) /> 
42 
43<#assign entryLocalService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetEntryLocalService") /> 
44 
45<#assign entry = entryLocalService.getEntry("com.liferay.portlet.journal.model.JournalArticle", articleResourcePK) /> 
46<#assign asset = journalArticleResourceService.getArticleResource(articleResourcePK) /> 
47 
48<div class="row-fluid" style="margin-bottom:25px;"> 
49    ${body.getData()} 
50</div> 
51<div class="row-fluid"> 
52    <@displayCategories categories=categories /> 
53</div> 
54<div class="row-fluid"> 
55    <span class="metadata-entry metadata-publish-date"> 
56        <#assign dateFormat = "dd MMM yyyy - HH:mm:ss" /> 
57        ${dateUtil.getDate(entry.getModifiedDate(), dateFormat, locale)} 
58    </span> 
59</div> 
60<div class="row-fluid"> 
61    <span class="metadata-entry metadata-view-count"> 
62        ${entry.getViewCount()} <@liferay.language key="views" /> 
63    </span> 
64</div> 
65 
66<div class="row-fluid" style="padding-top:3em;"> 
67    <#assign ortsParams = "" /> 
68    <#assign ortsLevel1 = orts_level_1_id.getData()/> 
69    <#assign ortsLevel2 = otrs_level_2_id.getData()/> 
70    <#assign ortsLevel3 = otrs_level_3_id.getData()/> 
71    <#if ortsLevel1?? && ortsLevel1!="null"> 
72        <#assign ortsParams = "&level1="+ortsLevel1 /> 
73        <#if ortsLevel2?? && ortsLevel2!="null"> 
74            <#assign ortsParams = ortsParams + "&level2="+ortsLevel2 /> 
75            <#if ortsLevel3?? && ortsLevel3!="null"> 
76                <#assign ortsParams = ortsParams + "&level3="+ortsLevel3 /> 
77            </#if> 
78        </#if> 
79    </#if> 
80    <#assign ortsParams = ortsParams + "&entry_id="+entry.getEntryId()/> 
81    <@liferay.language key="ulb-article-doesnt-help-you" /> <a href="../otrs?level0=1${ortsParams}"> <@liferay.language key="ulb-article-go-to-form"/> <span class="glyphicon glyphicon-envelope"></span></a> 
82</div> 
83 
84<script type="text/javascript"> 
85	Liferay.provide( 
86		window, 
87		'_aticle_support_clickOnAccordionPanel', 
88		function(id) { 
89			var A = AUI(); 
90			var panelHeader = A.one('#'+id+'_header'); 
91			var panelContent = A.one('#'+id+'_content'); 
92			 
93			if(panelHeader.hasClass('toggler-header-expanded')){ 
94				panelHeader.removeClass('toggler-header-expanded'); 
95				panelHeader.addClass('toggler-header-collapsed'); 
96				 
97				panelContent.removeClass('toggler-content-expanded'); 
98				panelContent.addClass('toggler-content-collapsed'); 
99			}else { 
100				panelHeader.removeClass('toggler-header-collapsed'); 
101				panelHeader.addClass('toggler-header-expanded'); 
102				 
103				panelContent.removeClass('toggler-content-collapsed'); 
104				panelContent.addClass('toggler-content-expanded'); 
105
106		}, 
107		['aui-base'] 
108	); 
109</script> 
110 
111<#macro displayCategories 
112	categories 
113
114	<#if categories?has_content> 
115	 
116    	<span class="metadata-entry"> 
117    	        <i class="icon-tag"></i> 
118		<#list categories as category> 
119 
120                ${category.getTitle(locale)} | 
121 
122				<#if serviceLocator??> 
123					<#assign assetCategoryService = serviceLocator.findService("com.liferay.portlet.asset.service.AssetCategoryService")> 
124 
125					<#assign childCategories = assetCategoryService.getChildCategories(category.getCategoryId())> 
126 
127					<@displayCategories categories=childCategories /> 
128				</#if> 
129		</#list> 
130		</span> 
131	</#if> 
132</#macro>