Projekte

Fehler bei der Verarbeitung der Vorlage.
Error on line 38, column 41 in 12966#13002#375621
DDLRecordLocalService.getRecord(t_record?number) is undefined.
It cannot be assigned to people_record
1<#assign topic_path = "/_work/topic"> 
2<#assign profile_path = "/_work/profil"> 
3<#assign fallback_image = "/documents/12991/216550/Profilplatzhalter_m/5cd55549-4d61-4e8e-9f03-954d1aee919c"> 
4 
5<#assign cur_record_id = paramUtil.getNumber(request, "id", 0)> 
6<#assign topics_record_set_id = 373846> 
7<#assign structure_id = 373581> 
8 
9<#assign DDLRecordLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatalists.service.DDLRecordLocalService")> 
10<#assign DDMStructureLocalService = serviceLocator.findService("com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService")> 
11<#assign service_context = staticUtil["com.liferay.portal.service.ServiceContextThreadLocal"].getServiceContext()> 
12<#assign theme_display = service_context.getThemeDisplay()> 
13 
14<#assign topics = DDLRecordLocalService.getRecords(topics_record_set_id)> 
15<#assign project_structure = DDMStructureLocalService.getStructure(structure_id)> 
16 
17<div id="project" class="side_container project record"> 
18    <#if (cur_record_id?number > 0)> 
19        <#assign cur_record = DDLRecordLocalService.getRecord(cur_record_id)> 
20        <#if cur_record?has_content> 
21            <!-- SINGLE PROJECT RECORD BEGIN --> 
22            <div id="${cur_record.recordId}" class="record"> 
23                <h1 class="long_title"> 
24                    ${cur_record.getFieldValue("Projekttitel", locale)} 
25                </h1> 
26                <#if cur_record.getFieldValue("Projektkurztitel", locale)?has_content> 
27                    <h2 class="short_title data-set-container"> 
28                        ${cur_record.getFieldValue("Projektkurztitel", locale)} 
29                    </h2> 
30                </#if> 
31                <div class="cooperations leader data-set-container"> 
32                    <label class="runningtime-label base-label">${project_structure.getFieldLabel("Project_lead", locale)}:</label> 
33                    <ul id="leader-data-container" class="data-container"> 
34                        <#if cur_record.getFieldValues("Projektleiter_Mitglied", locale)?has_content> 
35                            <#list cur_record.getFieldValues("Projektleiter_Mitglied", locale) as t_record> 
36                                <#if t_record?has_content > 
37                                    <#if t_record?number?is_number > 
38                                        <#assign people_record = DDLRecordLocalService.getRecord(t_record?number)> 
39                                        <#if people_record?has_content> 
40                                            <#assign css_style = ""> 
41                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
42                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
43                                                    <#assign css_style = "display:none;"> 
44                                                </#if> 
45                                            </#if> 
46                                            <#assign enable_link = true> 
47                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
48                                                <#if people_record.getFieldValue("inaktiv", locale)> 
49                                                    <#assign enable_link = false> 
50                                                </#if> 
51                                            </#if> 
52                                            <li class="cooperations internal person-name" data-name="${people_record.getFieldValue("Name", locale)}"> 
53                                                <#if enable_link == true> 
54                                                    <a href="${profile_path}?id=${people_record.getRecordId()}"> 
55                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
56                                                    </a> 
57                                                <#else> 
58                                                    ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
59                                                </#if> 
60                                            </li> 
61                                        </#if> 
62                                    </#if> 
63                                </#if> 
64                            </#list> 
65                        </#if> 
66                        <#if cur_record.getFieldValues("Projektleitung_Nicht_Mitglied", locale)?has_content> 
67                            <#list cur_record.getFieldValues("Projektleitung_Nicht_Mitglied", locale) as t_record> 
68                                <#if t_record?has_content > 
69                                    <li class="cooperations external leader" data-name="${t_record}">${t_record}</li> 
70                                </#if> 
71                            </#list> 
72                        </#if> 
73                    </ul> 
74                </div> 
75 
76                <div class="cooperations leader data-set-container"> 
77                    <label class="runningtime-label base-label">${project_structure.getFieldLabel("Projektbearbeiterin", locale)}:</label> 
78                    <ul id="worker-data-container" class="data-container"> 
79                        <#if cur_record.getFieldValues("Projekt_Mitglied", locale)?has_content> 
80                            <#list cur_record.getFieldValues("Projekt_Mitglied", locale) as t_record> 
81                                <#if t_record?has_content > 
82                                    <#if t_record?number?is_number > 
83                                        <#assign people_record = DDLRecordLocalService.getRecord(t_record?number)> 
84                                        <#if people_record?has_content> 
85                                            <#assign css_style = ""> 
86                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
87                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
88                                                    <#assign css_style = "display:none;"> 
89                                                </#if> 
90                                            </#if> 
91                                            <#assign enable_link = true> 
92                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
93                                                <#if people_record.getFieldValue("inaktiv", locale)> 
94                                                    <#assign enable_link = false> 
95                                                </#if> 
96                                            </#if> 
97                                            <li class="cooperations internal person-name" data-name="${people_record.getFieldValue("Name", locale)}"> 
98                                                <#if enable_link == true> 
99                                                    <a href="${profile_path}?id=${people_record.getRecordId()}"> 
100                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
101                                                    </a> 
102                                                <#else> 
103                                                    ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
104                                                </#if> 
105                                            </li> 
106                                        </#if> 
107                                    </#if> 
108                                </#if> 
109                            </#list> 
110                        </#if> 
111                        <#if cur_record.getFieldValues("Projekt_Nicht_Mitglied", locale)?has_content> 
112                            <#list cur_record.getFieldValues("Projekt_Nicht_Mitglied", locale) as t_record> 
113                                <#if t_record?has_content > 
114                                    <li class="cooperations external leader" data-name="${t_record}">${t_record}</li> 
115                                </#if> 
116                            </#list> 
117                        </#if> 
118                    </ul> 
119                </div> 
120 
121                <div class="cooperations leader data-set-container"> 
122                    <label class="runningtime-label base-label">${project_structure.getFieldLabel("Interne_Koop", locale)}:</label> 
123                    <ul id="internal-data-container" class="data-container"> 
124                        <#if cur_record.getFieldValues("Viadrinainterne_Kooperationspartnerinnen", locale)?has_content> 
125                            <#list cur_record.getFieldValues("Viadrinainterne_Kooperationspartnerinnen", locale) as t_record> 
126                                <#if t_record?has_content > 
127                                    <#if t_record?number?is_number > 
128                                        <#assign people_record = DDLRecordLocalService.getRecord(t_record?number)> 
129                                        <#if people_record?has_content> 
130                                            <#assign css_style = ""> 
131                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
132                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
133                                                    <#assign css_style = "display:none;"> 
134                                                </#if> 
135                                            </#if> 
136                                            <#assign enable_link = true> 
137                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
138                                                <#if people_record.getFieldValue("inaktiv", locale)> 
139                                                    <#assign enable_link = false> 
140                                                </#if> 
141                                            </#if> 
142                                            <li class="cooperations internal person-name" data-name="${people_record.getFieldValue("Name", locale)}"> 
143                                                <#if enable_link == true> 
144                                                    <a href="${profile_path}?id=${people_record.getRecordId()}"> 
145                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
146                                                    </a> 
147                                                <#else> 
148                                                    ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
149                                                </#if> 
150                                            </li> 
151                                        </#if> 
152                                    </#if> 
153                                </#if> 
154                            </#list> 
155                        </#if> 
156                        <#if cur_record.getFieldValues("Viadrinainterne_Kooperationspartnerinnen_Nicht_Mitglieder", locale)?has_content> 
157                            <#list cur_record.getFieldValues("Viadrinainterne_Kooperationspartnerinnen_Nicht_Mitglieder", locale) as t_record> 
158                                <#if t_record?has_content > 
159                                    <li class="cooperations external" data-name="${t_record}">${t_record}</li> 
160                                </#if> 
161                            </#list> 
162                        </#if> 
163                    </ul> 
164                </div> 
165 
166                <div class="cooperations leader data-set-container"> 
167                    <label class="runningtime-label base-label">${project_structure.getFieldLabel("Externe_Koop", locale)}:</label> 
168                    <ul id="external-data-container" class="data-container"> 
169                        <#if cur_record.getFieldValues("Externe_Kooperationspartnerinnen", locale)?has_content> 
170                            <#list cur_record.getFieldValues("Externe_Kooperationspartnerinnen", locale) as t_record> 
171                                <#if t_record?has_content > 
172                                    <#if t_record?number?is_number > 
173                                        <#assign people_record = DDLRecordLocalService.getRecord(t_record?number)> 
174                                        <#if people_record?has_content> 
175                                            <#assign css_style = ""> 
176                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
177                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
178                                                    <#assign css_style = "display:none;"> 
179                                                </#if> 
180                                            </#if> 
181                                            <#assign enable_link = true> 
182                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
183                                                <#if people_record.getFieldValue("inaktiv", locale)> 
184                                                    <#assign enable_link = false> 
185                                                </#if> 
186                                            </#if> 
187                                            <li class="cooperations internal person-name"> 
188                                                <#if enable_link == true> 
189                                                    <a href="${profile_path}?id=${people_record.getRecordId()}" data-name="${people_record.getFieldValue("Name", locale)}"> 
190                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
191                                                    </a> 
192                                                <#else> 
193                                                    ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
194                                                </#if> 
195                                            </li> 
196                                        </#if> 
197                                    </#if> 
198                                </#if> 
199                            </#list> 
200                        </#if> 
201                        <#if cur_record.getFieldValues("Externe_Kooperationspartnerinnen_Nicht_Mitglied", locale)?has_content> 
202                            <#list cur_record.getFieldValues("Externe_Kooperationspartnerinnen_Nicht_Mitglied", locale) as t_record> 
203                                <#if t_record?has_content > 
204                                    <li class="cooperations external" data-name="${t_record}">${t_record}</li> 
205                                </#if> 
206                            </#list> 
207                        </#if> 
208                    </ul> 
209                </div> 
210 
211                <div class="cooperations leader data-set-container"> 
212                    <label class="runningtime-label base-label">${project_structure.getFieldLabel("Ehemalige", locale)}:</label> 
213                    <ul id="old-data-container" class="data-container"> 
214                        <#if cur_record.getFieldValues("Ehemalige_Mitarbeiter_innen_Mitglied", locale)?has_content> 
215                            <#list cur_record.getFieldValues("Ehemalige_Mitarbeiter_innen_Mitglied", locale) as t_record> 
216                                <#if people_record_id?has_content > 
217                                    <#if people_record_id?number?is_number > 
218                                        <#assign people_record = DDLRecordLocalService.getRecord(t_record?number)> 
219                                        <#if people_record?has_content> 
220                                            <#assign css_style = ""> 
221                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
222                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
223                                                    <#assign css_style = "display:none;"> 
224                                                </#if> 
225                                            </#if> 
226                                            <#assign enable_link = true> 
227                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
228                                                <#if people_record.getFieldValue("inaktiv", locale)> 
229                                                    <#assign enable_link = false> 
230                                                </#if> 
231                                            </#if> 
232                                            <li class="cooperations internal person-name" data-name="${people_record.getFieldValue("Name", locale)}"> 
233                                                <#if enable_link == true> 
234                                                    <a href="${profile_path}?id=${people_record.getRecordId()}"> 
235                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
236                                                    </a> 
237                                                <#else> 
238                                                    ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
239                                                </#if> 
240                                            </li> 
241                                        </#if> 
242                                    </#if> 
243                                </#if> 
244                            </#list> 
245                        </#if> 
246                        <#if cur_record.getFieldValues("Ehemaligemitarbeiter_innen_Nicht_Mitglied", locale)?has_content> 
247                            <#list cur_record.getFieldValues("Ehemaligemitarbeiter_innen_Nicht_Mitglied", locale) as t_record> 
248                                <#if t_record?has_content > 
249                                    <li class="cooperations external" data-name="${t_record}">${t_record}</li> 
250                                </#if> 
251                            </#list> 
252                        </#if> 
253                    </ul> 
254                </div> 
255 
256                <#if cur_record.getFieldValues("Drittmittelgeber", locale)?has_content> 
257                    <div class="cooperations external nonmembers data-set-container"> 
258                        <label class="runningtime-label base-label">${project_structure.getFieldLabel("Drittmittelgeber", locale)}:</label> 
259                        <div class="data-container"> 
260                            <#list cur_record.getFieldValues("Drittmittelgeber", locale) as t_record> 
261                                <div class="cooperations external nonmembers">${t_record}</div> 
262                            </#list> 
263                        </div> 
264                    </div> 
265                </#if> 
266                <#if cur_record.getFieldValue("Projektlaufzeit", locale)?has_content> 
267                    <div class="runningtime data-set-container"> 
268                        <label class="runningtime-label base-label">${project_structure.getFieldLabel("Projektlaufzeit", locale)}:</label> 
269                        ${cur_record.getFieldValue("Projektlaufzeit", locale)} 
270                    </div> 
271                </#if> 
272 
273                <#if cur_record.getFieldValue("Projektgrafik", locale)?has_content> 
274                    <div class="graphic data-set-container"> 
275                        <img src="${ddmUtil.getDisplayFieldValue(theme_display, cur_record.getFieldValue("Projektgrafik", locale), cur_record.getFieldType("Projektgrafik"))}"/> 
276                    </div> 
277                </#if> 
278 
279                <#if cur_record.getFieldValue("Projektbeschreibung", locale)?has_content> 
280                    <div class="description data-set-container"> 
281                        <label class="description-label base-label">${project_structure.getFieldLabel("Projektbeschreibung", locale)}:</label> 
282                        <div class="description-text"> 
283                            ${cur_record.getFieldValue("Projektbeschreibung", locale)} 
284                        </div> 
285                    </div> 
286                </#if> 
287                <#if cur_record.getFieldValue("Link_zur_B_ORDER_STUDIES_Plattform", locale) ?has_content> 
288                    <div class="website data-set-container"> 
289                        <a href="${ddmUtil.getDisplayFieldValue(theme_display, cur_record.getFieldValue("Link_zur_B_ORDER_STUDIES_Plattform", locale), cur_record.getFieldType("Link_zur_B_ORDER_STUDIES_Plattform"))}"> 
290                            <cur_record class="website-label base-label">${project_structure.getFieldLabel("Link_zur_B_ORDER_STUDIES_Plattform", locale)}</cur_record> 
291                        </a> 
292                    </div> 
293                </#if> 
294 
295                <#if cur_record.getFieldValue("Projektwebseite", locale)?has_content> 
296                    <div class="website data-set-container"> 
297                        <cur_record class="website-label base-label">${project_structure.getFieldLabel("Projektwebseite", locale)}:</cur_record> 
298                        <a href="${ddmUtil.getDisplayFieldValue(theme_display, cur_record.getFieldValue("Projektwebseite", locale), cur_record.getFieldType("Projektwebseite"))}"> 
299                            ${cur_record.getFieldValue("Projektwebseite", locale)} 
300                        </a> 
301                    </div> 
302                </#if> 
303 
304                <#if cur_record.getFieldValue("Kontakt_E-Mail", locale)?has_content> 
305                    <div class="contact email data-set-container"> 
306                        <a href="mailto:${ddmUtil.getDisplayFieldValue(theme_display, cur_record.getFieldValue("Kontakt_E-Mail", locale), cur_record.getFieldType("Kontakt_E-Mail"))}"> 
307                            Kontakt E-Mail 
308                        </a> 
309                    </div> 
310                </#if> 
311 
312                <div class="research_topics data-set-container"> 
313                    <#if cur_record.getFieldValues("Gegenstandsbereiche", locale)?has_content> 
314                        <label class="research_topics_label base-label"> 
315                            ${project_structure.getFieldLabel("Gegenstandsbereiche", locale)}: 
316                        </label> 
317                        <div class="research_topic_container"> 
318                            <#list cur_record.getFieldValues("Gegenstandsbereiche", locale) as cur_research_topic> 
319                                <#if cur_research_topic == '["value 1"]'> 
320                                    <#assign css_class = "topic_container topic_container_border"> 
321                                <#elseif cur_research_topic == '["value 2"]'> 
322                                    <#assign css_class = "topic_container topic_container_work"> 
323                                <#elseif cur_research_topic == '["value 3"]'> 
324                                    <#assign css_class = "topic_container topic_container_migration"> 
325                                <#elseif cur_research_topic == '["value 4"]'> 
326                                    <#assign css_class = "topic_container topic_container_conflict"> 
327                                <#else> 
328                                    <#assign css_class = ""> 
329                                </#if> 
330 
331                                <#list topics as topic> 
332                                    <#if topic.getFieldValue("Auswahl2756", locale) == cur_research_topic> 
333                                        <a class="topic_link" href="${topic_path}?id=${topic.recordId}"> 
334                                            <div class="${css_class}" style="text-align: center !important;"> 
335                                                ${topic.getField('Auswahl2756').getRenderedValue(locale)} 
336                                            </div> 
337                                        </a> 
338                                    </#if> 
339                                </#list> 
340                            </#list> 
341                        </div> 
342                    </#if> 
343                </div> 
344 
345                <div id="people_container" class="people-container data-set-container"> 
346                    <div class="people_header accordion_base"><span class="accordion_title">${project_structure.getFieldLabel("Projektbeteiligte", locale)}</span></div> 
347                    <div id="people-container" class="people" style="display: none"> 
348 
349                        <#if cur_record.getFieldValues("Projekt_Mitglied", locale)?has_content> 
350                            <#list cur_record.getFieldValues("Projekt_Mitglied", locale) as people_record_id> 
351                                <#if people_record_id?has_content > 
352                                    <#if people_record_id?number?is_number > 
353                                        <#assign people_record = DDLRecordLocalService.getRecord(people_record_id?number)> 
354                                        <#if people_record?has_content> 
355                                            <#assign css_style = ""> 
356                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
357                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
358                                                    <#assign css_style = "display:none;"> 
359                                                </#if> 
360                                            </#if> 
361                                            <#assign enable_link = true> 
362                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
363                                                <#if people_record.getFieldValue("inaktiv", locale)> 
364                                                    <#assign enable_link = false> 
365                                                </#if> 
366                                            </#if> 
367                                            <div id="${people_record.getRecordId()}-${people_record.getFieldValue("Sortierungsnummer", locale)}" class="people_record" style="${css_style}"> 
368                                                <div class="photo"> 
369                                                    <#if enable_link == true> 
370                                                        <a href="${profile_path}?id=${people_record.getRecordId()}"> 
371                                                            <img src="${ddmUtil.getDisplayFieldValue(theme_display, people_record.getFieldValue("Foto", locale), people_record.getFieldType("Foto"))}" 
372                                                                 alt="Foto von ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)}" 
373                                                            /> 
374                                                        </a> 
375                                                    <#else> 
376                                                        <img src="${ddmUtil.getDisplayFieldValue(theme_display, people_record.getFieldValue("Foto", locale), people_record.getFieldType("Foto"))}" 
377                                                             alt="Foto von ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)}" 
378                                                        /> 
379                                                    </#if> 
380                                                </div> 
381                                                <div class="name"> 
382                                                    <#if enable_link == true> 
383                                                        <a href="${profile_path}?id=${people_record.getRecordId()}"> 
384                                                            ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
385                                                        </a> 
386                                                    <#else> 
387                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
388                                                    </#if> 
389                                                </div> 
390                                                <div class="function"> 
391                                                    ${people_record.getFieldValue("Funktion_am_Center", locale)} 
392                                                </div> 
393                                            </div> 
394                                        </#if> 
395                                    </#if> 
396                                </#if> 
397                            </#list> 
398                        </#if> 
399 
400                        <#if cur_record.getFieldValues("Projektleiter_Mitglied", locale)?has_content> 
401                            <#list cur_record.getFieldValues("Projektleiter_Mitglied", locale) as people_record_id> 
402                                <#if people_record_id?has_content > 
403                                    <#if people_record_id?number?is_number > 
404                                        <#assign people_record = DDLRecordLocalService.getRecord(people_record_id?number)> 
405                                        <#if people_record?has_content> 
406                                            <#assign css_style = ""> 
407                                            <#if people_record.getFieldValues("Ausblenden", locale)?has_content> 
408                                                <#if people_record.getFieldValue("Ausblenden", locale)> 
409                                                    <#assign css_style = "display:none;"> 
410                                                </#if> 
411                                            </#if> 
412                                            <#assign enable_link = true> 
413                                            <#if people_record.getFieldValues("inaktiv", locale)?has_content> 
414                                                <#if people_record.getFieldValue("inaktiv", locale)> 
415                                                    <#assign enable_link = false> 
416                                                </#if> 
417                                            </#if> 
418                                            <div id="${people_record.getRecordId()}-${people_record.getFieldValue("Sortierungsnummer", locale)}" class="people_record" style="${css_style}"> 
419                                                <div class="photo"> 
420                                                    <#if enable_link == true> 
421                                                        <a href="${profile_path}?id=${people_record.getRecordId()}"> 
422                                                            <img src="${ddmUtil.getDisplayFieldValue(theme_display, people_record.getFieldValue("Foto", locale), people_record.getFieldType("Foto"))}" 
423                                                                 alt="Foto von ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)}" 
424                                                            /> 
425                                                        </a> 
426                                                    <#else> 
427                                                        <img src="${ddmUtil.getDisplayFieldValue(theme_display, people_record.getFieldValue("Foto", locale), people_record.getFieldType("Foto"))}" 
428                                                             alt="Foto von ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)}" 
429                                                        /> 
430                                                    </#if> 
431                                                </div> 
432                                                <div class="name"> 
433                                                    <#if enable_link == true> 
434                                                        <a href="${profile_path}?id=${people_record.getRecordId()}"> 
435                                                            ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
436                                                        </a> 
437                                                    <#else> 
438                                                        ${people_record.getFieldValue("Titel_vorangestellt", locale)} ${people_record.getFieldValue("Vorname", locale)} ${people_record.getFieldValue("Name", locale)} ${people_record.getFieldValue("Titel_nachgestellt", locale)} 
439                                                    </#if> 
440                                                </div> 
441                                                <div class="function"> 
442                                                    ${people_record.getFieldValue("Funktion_am_Center", locale)} 
443                                                </div> 
444                                            </div> 
445                                        </#if> 
446                                    </#if> 
447                                </#if> 
448                            </#list> 
449                        </#if> 
450                    </div> 
451                </div> 
452            </div> 
453            <!-- SINGLE PROJECT RECORD END --> 
454        </#if> 
455    </#if> 
456</div>