INSCHOOL

"Inclusive Schools: Making a Difference for Roma children" (INSCHOOL) is a joint project of the European Union and Council of Europe focusing on inclusive education for Roma children.

The project was initiated in 2017 and works at policy and practice levels in the Czech Republic, Hungary, Romania, Slovak Republic and United Kingdom.  More about the INSCHOOL project >>

Latest News Latest News
Focus Focus
INSCHOOL Calendar of Events INSCHOOL Calendar of Events
Back

INSCHOOL Training of Teachers and Local Authorities on Project Management

An error occurred while processing the template.
The following has evaluated to null or missing:
==> .vars['schedule']['date']  [in template "41588019#41588057#48852215" at line 35, column 30]

Tip: If the failing expression is known to be legally null/missing, either specify a default value with 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 parenthessis: (myOptionVar.foo)!myDefault, (myOptionVar.foo)??

The failing instruction:
==> #if .vars["schedule"]["date"].getData...  [in template "41588019#41588057#48852215" at line 35, column 25]
1<#assign language = locale.getLanguage() /> 
2<#if language == 'fr'> 
3	<#assign eventStatus = {  
4	"none": "",  
5	"to_be_confirmed_event": "A confirmer",  
6	"confirmed_event": "Confirmé",  
7	"modified_event": "Modifié",  
8	"cancelled_event": "Annulé" 
9	}> 
10	<#assign eventPubPriv = {  
11	"public": "Public",  
12	"private": "Privé",  
13	"secret": "Confidentiel" 
14	}> 
15<#else> 
16	<#assign eventStatus = {  
17	"none": "",  
18	"to_be_confirmed_event": "To be confirmed",  
19	"confirmed_event": "Confirmed",  
20	"modified_event": "Modified",  
21	"cancelled_event": "Cancelled" 
22	}> 
23	<#assign eventPubPriv = {  
24	"public": "Public",  
25	"private": "Private",  
26	"secret": "Secret" 
27	}> 
28</#if> 
29 
30<div class="event-calendar"> 
31	<div class="box-line"> 
32		<#assign 'date_from_Data' = getterUtil.getLong(.vars['schedule']['date_from'].getData())> 
33		<#assign 'date_to_Data' = getterUtil.getLong(.vars['schedule']['date_to'].getData())> 
34		<div class="event-date"> 
35			<#if .vars['schedule']['date'].getData() != ""> 
36				<i class="icon-eventDate"></i> 
37				${.vars['schedule']['date'].getData()} 
38			<#elseif .vars['date_to_Data'] == 0 || .vars['date_from_Data'] == .vars['date_to_Data'] > 
39				 
40				<#if (.vars['date_from_Data'] > 0)> 
41					<#assign 'date_from_DateObj' = dateUtil.newDate(.vars['date_from_Data'])> 
42					<i class="icon-eventDate"></i> 
43					${dateUtil.getDate(.vars['date_from_DateObj'], "dd MMM yyyy", locale, timeZoneUtil.getTimeZone("UTC"))} 
44				</#if> 
45				<span class="divided"></span> 
46				<#if .vars['schedule']['date_from']['time_from'].getData() != ""> 
47				<i class="icon-eventTime"></i> 
48				${.vars['schedule']['date_from']['time_from'].getData()} 
49
50				${.vars['schedule']['date_from']['time_to'].getData()} 
51				</#if> 
52			<#else> 
53				<#if (.vars['date_from_Data'] > 0)> 
54					<#assign 'date_from_DateObj' = dateUtil.newDate(.vars['date_from_Data'])> 
55					<i class="icon-eventDate"></i> 
56					${dateUtil.getDate(.vars['date_from_DateObj'], "dd MMM yyyy", locale, timeZoneUtil.getTimeZone("UTC"))} 
57					 
58				</#if> 
59				<#if .vars['schedule']['date_from']['time_from'].getData() != ""> 
60
61				<i class="icon-eventTime"></i> 
62				${.vars['schedule']['date_from']['time_from'].getData()} 
63				</#if> 
64				<i class="icon-eventArrowRight"></i>		 
65				<#if (.vars['date_to_Data'] > 0)> 
66					<#assign 'date_to_DateObj' = dateUtil.newDate(.vars['date_to_Data'])> 
67					<i class="icon-eventDate"></i> 
68					${dateUtil.getDate(.vars['date_to_DateObj'], "dd MMM yyyy", locale, timeZoneUtil.getTimeZone("UTC"))} 
69					 
70				</#if> 
71				<#if .vars['schedule']['date_from']['time_to'].getData() != ""> 
72
73				<i class="icon-eventTime"></i> 
74				${.vars['schedule']['date_from']['time_to'].getData()} 
75				</#if> 
76			</#if> 
77		</div> 
78		<h2>${.vars['reserved-article-title'].getData()}</h2> 
79		<#if .vars['location'].getData() != ""> 
80		<div class="event-location"> 
81			<i class="icon-eventLocation"></i> 
82			${.vars['location'].getData()} 
83		</div> 
84		</#if> 
85	</div> 
86	<#if .vars['content'].getData() != ""> 
87	<div class="event-description box-bordered"> 
88		<div class="box-title">Description of Event</div> 
89		${.vars['content'].getData()} 
90	</div> 
91	</#if> 
92	 
93</div> 
94 
95<style> 
96.event-calendar .box-bordered { 
97	border: 1px solid #ccc; 
98	padding: 0 20px; 
99	margin: 20px 0; 
100
101 
102.event-calendar .box-bordered .box-title { 
103	background-color: #123751; 
104	margin: 0 -20px 10px; 
105	padding: 5px 20px; 
106	color: #fff; 
107	text-transform: uppercase; 
108	font-weight: 600 
109
110 
111 
112.event-calendar .divided { 
113	margin: 0 10px; 
114
115 
116.event-date { 
117	font-weight: 800 
118
119 
120/* event icons */ 
121 
122.icon-eventDate:before, 
123.icon-eventTime:before, 
124.icon-eventArrowRight:before, 
125.icon-eventLocation:before { 
126	content:  ''; 
127	display: inline-block; 
128	margin-right: 2px; 
129	width: 16px; 
130	height: 16px; 
131	background-size: 100%; 
132	vertical-align: text-bottom; 
133
134 
135.icon-eventDate:before { 
136	background-image: url(https://static.coe.int/pics/icons/2014/blue-corporate/calendar-2.svg); 
137
138.icon-eventTime:before { 
139	background-image: url(https://static.coe.int/pics/icons/2014/blue-corporate/time-2.svg); 
140
141.icon-eventLocation:before { 
142	background-image: url(https://static.coe.int/pics/icons/2014/blue-corporate/map-2.svg); 
143
144.icon-eventArrowRight:before { 
145	background-image: url(https://static.coe.int/pics/icons/2014/blue-corporate/right-6.svg); 
146	margin-left: 10px; 
147	margin-right: 10px; 
148
149 
150/* status */ 
151 
152.event-calendar .event-status { 
153	display: inline-block; 
154	background-color: grey; 
155	padding: 0px 10px; 
156	border-radius: 10px; 
157	text-transform: uppercase; 
158	font-weight: 600; 
159	font-size: 13px; 
160	color: #fff; 
161
162 
163.event-calendar .event-status.to_be_confirmed_event { 
164	background-color: #EE6830; 
165
166 
167.event-calendar .event-status.confirmed_event { 
168	background-color: #008A2C; 
169
170 
171.event-calendar .event-status.modified_event { 
172	background-color: #1B7EAC; 
173
174 
175.event-calendar .event-status.cancelled_event { 
176	background-color: #D4310D; 
177
178 
179</style>