1<#if umcg_library_path??><#import umcg_library_path as umcg_library /></#if>
2
3<#assign title = .vars['reserved-article-title'].data />
4
5<#if Menu?has_content && Menu.getData()?has_content>
6 <#assign article = Menu.getData()?eval />
7 <#assign menuItems = (umcgContentService.getMenugegevens(article.classPK?number, .vars['reserved-article-id'].data, groupId, locale, request)) />
8</#if>
9
10<#if menuItems?has_content &&
11menuItems.menu?has_content &&
12menuItems.menu?size gt 0 &&
13menuItems.menu[0]?has_content
14>
15 <#if menuItems.menu[0].title?has_content>
16 <#assign baseTitle = menuItems.menu[0].title />
17 </#if>
18 <#if menuItems.menu[0].custom_title?has_content>
19 <#assign customTitle = menuItems.menu[0].custom_title />
20 </#if>
21</#if>
22
23<@umcg_library.schema value=(umcgContentService.getExpandoValue("Schema", .vars['reserved-article-id'].data, groupId))!"" />
24<#if (umcgContentService.getExpandoValue("Indexeren door google", .vars['reserved-article-id'].data, groupId))!?contains("false")>
25 <@liferay_util["html-top"] outputKey="robots">
26 <meta name="robots" content="noindex,nofollow">
27 </@>
28</#if>
29<#assign kruimelpad = umcgContentService.getBreadcrumb("Kruimelpad", .vars['reserved-article-id'].data, groupId, themeDisplay, soortCategoryKeys.getCategoryPage("ALGEMEEN"))!{} />
30<@umcg_library.wrapper
31 cols='col-11 col-lg-8 justify-content-center'>
32<@umcg_library.breadcrumb_theme title=kruimelpad.title!'' url=kruimelpad.url!'' secondary_breadcrumbs=kruimelpad.secondary_breadcrumbs![] />
33</@umcg_library.wrapper>
34<@umcg_library.title text=title />
35
36<#if menuItems?has_content>
37 <@umcg_library.theme_navigation classes='theme-navigation-fixed theme-navigation--theme-3' menu_items=menuItems.menu[1..]![] secondary_items=menuItems.links![] url=menuItems.menu[0].url!'' page_title=customTitle!'' />
38</#if>
39
40<@umcg_library.wrapper cols='col-11 col-lg-9 col-xl-8 justify-content-center'>
41 <@umcg_library.lead text=Intro.getData() />
42</@umcg_library.wrapper>
43
44<#if menuItems?has_content>
45 <@umcg_library.theme_navigation_mobile title=baseTitle!'' classes='theme-navigation-extended-mobile--hide-xl-desktop' menu_items=menuItems.menu[1..]![] secondary_items=menuItems.links![] url=menuItems.menu[0].url!'' page_title=customTitle!'' alternative_title=menuItems.alternativeTitle!'' />
46</#if>
47
48<#if AanvullendeContentSectie??>
49 <#list AanvullendeContentSectie.getSiblings() as section>
50 <#assign
51 section_title = section.getChild('SectieTitel').getData()
52 background = section.getChild('AchtergrondVoorSectie').getData()
53 accordion_option = section.getChild('MobieleWeergaveVoorSectie').getData()
54 is_accordion = stringUtil.equals(accordion_option, 'accordeon')
55 is_accordion_desktop = stringUtil.equals(accordion_option, 'accordeon_desktop')
56 section_items = section.getChild('Item').getSiblings()
57 visibility = is_accordion?string('d-none d-lg-flex', '')
58 visibility_accordion = is_accordion_desktop?string('', 'd-lg-none')
59 />
60
61 <#if section_items??>
62 <#if is_accordion || is_accordion_desktop>
63 <@umcg_library.accordion list=section_items visibility=visibility_accordion cols='col-12 col-lg-9' />
64 </#if>
65 <#if !is_accordion_desktop>
66 <@umcg_library.group theme=background title=section_title visibility=visibility large=(umcg_library.isLargeGroup(section_items))!false>
67 <@umcg_library.paragraph list=section_items visibility=visibility />
68 </@umcg_library.group>
69 </#if>
70 </#if>
71 </#list>
72</#if>
73
74<#if RelevanteLinks?? && RelevanteLinks.getChild("RelevanteLinksTitel").getData()?has_content>
75 <@umcg_library.link_list
76 list=RelevanteLinks.getChild("Link").getSiblings()
77 structure={'title': 'LinkTitel', 'url': 'LinkUrl'}
78 title=RelevanteLinks.getChild("RelevanteLinksTitel").getData()
79 />
80</#if>
81
82<#assign relevanteArtikelen = (umcg_library.getRelevanteArtikelen(RelevanteArtikelen!))![] />
83<#if relevanteArtikelen?has_content >
84 <@umcg_library.group theme='${RelevanteArtikelen.getChild("AchtergrondVoorArtikelen").getData()}' large=true title='${RelevanteArtikelen.getChild("TitelArtikelen").getData()}'>
85 <@umcg_library.slider list=relevanteArtikelen />
86 </@umcg_library.group>
87</#if>
88
89<#if Contact?? && Contact.getSiblings()?has_content>
90 <#assign contactenList = umcg_library.listifier(Contact.getSiblings(), {'title': 'ContactTitel', 'text': 'ContactContent', 'phone': 'Telefoonnummer', 'email': 'ContactLinkEmailadres', 'name': 'Naam', 'function': 'Functie', 'image': 'ProfielfotoKlein', 'profileArticle': 'Profiel'}, {}, {'profileArticle': 'Profiel'}) />
91 <#if (contactenList?size == 1 && ((contactenList[0].profileArticle.classPK)?has_content ||
92 (contactenList[0].name)?has_content || (contactenList[0].function)?has_content ||
93 (contactenList[0].image)?has_content ) )>
94
95 <#if (contactenList[0].profileArticle.classPK)?has_content>
96 <#assign profielgegevens = (umcgContentService.getProfielgegevens(contactenList[0].profileArticle.classPK?number, locale, request))/>
97 <#elseif (contactenList[0].name)?has_content || (contactenList[0].function)?has_content || (contactenList[0].image)?has_content>
98 <#assign profielgegevens = {'url':'',
99 'image': (contactenList[0].image)!'',
100 'alt_image': 'profielfoto',
101 'info': {
102 'name':(contactenList[0].name)!'',
103 'function': (contactenList[0].function)!''
104 }
105 } />
106 </#if>
107 <@umcg_library.wrapper cols='col-12 col-lg-9 col-xl-8' classes='row justify-content-center visual-row'>
108 <@umcg_library.question_block
109 title=contactenList[0].title
110 text=contactenList[0].text
111 phone=contactenList[0].phone
112 email=contactenList[0].email
113 profile=profielgegevens
114 />
115 </@umcg_library.wrapper>
116 <#else>
117 <div class="question-block-compact">
118 <div class="row justify-content-center">
119 <#if contactenList?size <= 2>
120 <div class="col-12 col-lg-9 col-xl-8">
121 <div class="row justify-content-between">
122 </#if>
123 <#list contactenList as contact>
124 <#assign profile = {}/>
125 <#if (contact.profileArticle.classPK)?has_content>
126 <#assign profile = (umcgContentService.getProfielgegevens(contact.profileArticle.classPK?number, locale, request))/>
127 <#elseif (contact.name)?has_content || (contact.function)?has_content || (contact.image)?has_content>
128 <#assign profile = {'url':'',
129 'image': (contact.image)!'',
130 'alt_image': 'profielfoto',
131 'info': {
132 'name':(contact.name)!'',
133 'function':(contact.function)!''
134 }} />
135 </#if>
136 <#assign cols="col-12 col-sm-6 col-lg-4"/>
137 <#if contactenList?size == 1 >
138 <#assign cols="col-12" />
139 </#if>
140 <#if contactenList?size == 2>
141 <#assign cols="col-12 col-sm-6" />
142 </#if>
143 <#if contact.title?has_content>
144 <div class="${cols}">
145 <@umcg_library.question_block_compact_item
146 title=contact.title
147 text=contact.text
148 phone=contact.phone
149 email=contact.email
150 profile=profile
151 />
152 </div>
153 </#if>
154 <#if contact?counter == 3>
155 <#break/>
156 </#if>
157 </#list>
158 <#if contactenList?size <= 2>
159 </div>
160 </div>
161 </#if>
162 </div>
163 </div>
164 </#if>
165</#if>