Une erreur s'est produite lors du traitement du modèle.
The string doesn't match the expected date/time/date-time format. The string to parse was: "1900-01-01". The expected format was: "MMM d, y".
The nested reason given follows:
Unparseable date: "1900-01-01"
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign coupuresSorted = coupuresClea... [in template "22823141604726#20121#null" at line 918, column 29]
----
1<#assign
2dlAppLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLAppLocalService")
3dlURLHelper = serviceLocator.findService("com.liferay.document.library.util.DLURLHelper")
4
5objectEntryLocalService = serviceLocator.findService("com.liferay.object.service.ObjectEntryLocalService")
6objectRelationshipLocalService = serviceLocator.findService("com.liferay.object.service.ObjectRelationshipLocalService")
7objectDefinitionLocalService = serviceLocator.findService("com.liferay.object.service.ObjectDefinitionLocalService")
8
9listTypeDefinitionService = serviceLocator.findService("com.liferay.list.type.service.ListTypeDefinitionLocalService")
10listTypeEntryService = serviceLocator.findService("com.liferay.list.type.service.ListTypeEntryLocalService")
11/>
12
13<#assign searchUrl = (request.getParameter("searchUrl")?hasContent)?then("?searchUrl=" + request.getParameter("searchUrl")?url('UTF-8'), "")/>
14<#assign summary = garance.getSummaryContent("Imprime")>
15
16<#assign imprimeID = ObjectEntry_objectEntryId.getData()?number
17imprimeEntry = objectEntryLocalService.fetchObjectEntry(imprimeID?number)
18imprimeGroupID = imprimeEntry.getGroupId()
19>
20
21<#if imprimeEntry.values.descriptionLevel == "MANIFESTATION" && imprimeEntry.values.r_imprimePartOf_c_relatedObjectERC?hasContent && imprimeEntry.values.r_imprimePartOf_c_relatedObjectERC?startsWith("transi_")>
22 <#assign parentERC = imprimeEntry.values.r_imprimePartOf_c_relatedObjectERC?substring("transi_"?length)>
23 <#attempt>
24 <#assign parentFound = objectEntryLocalService.fetchObjectEntry(parentERC, imprimeEntry.objectDefinitionId)>
25 <#recover>
26 <#assign parentFound = "">
27 </#attempt>
28</#if>
29
30<#--------------------------------- Header -------------------------->
31<#assign imprimeTitleRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeTitles")>
32<#assign imprimeTitles = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, imprimeTitleRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
33<#assign imprimeTitlesPro = imprimeTitles?filter(t-> t.values.titleCatalogageManifestationType == "TITPRO")>
34<#assign imprimeTitles = imprimeTitles?filter(t-> t.values.titleCatalogageManifestationType != "TITPRO")>
35
36<#assign imprimeAuthorRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeAuthors")>
37<#assign imprimeAuthors = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, imprimeAuthorRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
38<#assign imprimeAuthorFull = []>
39<#list imprimeAuthors as imprimeAuthor>
40 <#if imprimeAuthor.values.r_imprimeAuthorPersonnes_c_transitionPersonneId != 0>
41 <#assign imprimeAuthorFonction = "">
42 <#if imprimeAuthor.values.r_imprimeAuthorRole_c_thesaurusId != 0>
43 <#assign imprimeAuthorFonction = garance.getThesaurusByID(imprimeAuthor.values.r_imprimeAuthorRole_c_thesaurusId)>
44 </#if>
45 <#assign imprimeAuthorFull = imprimeAuthorFull + [{
46 "personne": garance.getPersonneDisplayData(imprimeAuthor.values.r_imprimeAuthorPersonnes_c_transitionPersonneId),
47 "fonction": imprimeAuthorFonction
48 }]>
49 </#if>
50</#list>
51
52<#--------------------------------- Media -------------------------->
53<#assign reproductionsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "reproductionsImprimes")>
54<#assign reproductions = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, reproductionsRel.objectRelationshipId, imprimeID, true, reproductionsRel.isReverse(), null, -1, -1 ) />
55
56<#assign reproductionsImages = []>
57<#assign reproductionsVideos = []>
58<#if reproductions?hasContent>
59 <#list reproductions as reproduction>
60 <#if reproduction.values.reproductionNature?hasContent>
61 <#if reproduction.values.reproductionNature == "PICTURE" && reproduction.values.media?string != "0">
62 <#assign reproductionsImages = reproductionsImages + [reproduction]>
63 <#elseIf reproduction.values.reproductionNature == "VIDEO">
64 <#assign reproductionsVideos = reproductionsVideos + [reproduction]>
65 </#if>
66 </#if>
67 </#list>
68</#if>
69
70<#assign bureautiquesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeBureautique")>
71<#assign bureautiques = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, bureautiquesRel.objectRelationshipId, imprimeID, true, bureautiquesRel.isReverse(), null, -1, -1 ) />
72
73<#assign showMedia = (reproductionsImages?hasContent
74|| reproductionsVideos?hasContent
75<#--|| bureautiques?hasContent-->
76)>
77
78<#assign thumbnail = {}>
79<#if parentFound?hasContent>
80 <#assign reproductions = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, reproductionsRel.objectRelationshipId, imprimeID, true, reproductionsRel.isReverse(), null, -1, -1) />
81 <#assign reprod = reproductions?filter(r -> r.values.reproductionNature == "PICTURE")>
82 <#if reprod?hasContent && (reprod?first).values.media?string != "0">
83 <#assign thumbnail = reprod?first />
84 </#if>
85</#if>
86
87<#if !thumbnail?hasContent && reproductionsImages?hasContent>
88 <#assign thumbnail = reproductionsImages?first />
89</#if>
90
91<#--------------------------------- Identité -------------------------->
92
93<#assign responsabilitysRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "statementsOfResponsibility")>
94<#assign responsabilitys = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, responsabilitysRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
95
96<#assign editionsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "editions")>
97<#assign editions = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, editionsRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
98
99<#assign languagesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeLanguages")>
100<#assign languages = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, languagesRel.objectRelationshipId, imprimeID, true, languagesRel.isReverse(), null, -1, -1 ) />
101
102<#assign productionsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "productions")>
103<#assign productions = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, productionsRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
104
105<#assign notesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "notes")>
106<#assign notes = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, notesRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
107
108
109<#assign perioKey = "SERIALS">
110<#assign numPerioKey = "NUMERO">
111<#assign dosPerioKey = "DOSPER">
112<#assign articleKey = "ARTICLE">
113<#assign bookKey = "BOOK">
114
115
116<#assign noteFull = []>
117
118<#if imprimeEntry.values.bibliographicLevel?hasContent>
119 <#assign imprimeType = (imprimeEntry.values.bibliographicLevel == "SERIALS" && imprimeEntry.values.descriptionLevel == "MANIFESTATION")?then(numPerioKey, imprimeEntry.values.bibliographicLevel) />
120
121 <#assign notesList = {
122 "DOC18":[numPerioKey, bookKey],
123 "DOC19":[perioKey, numPerioKey, articleKey, bookKey],
124 "DOC20":[bookKey],
125 "DOC21":[perioKey, numPerioKey, dosPerioKey, bookKey],
126 "DOC30":[perioKey, numPerioKey, dosPerioKey, articleKey, bookKey],
127 "DOC32":[numPerioKey, bookKey],
128 "DOC33":[bookKey],
129 "DOC34":[bookKey],
130 "DOC36":[perioKey, numPerioKey, dosPerioKey, bookKey],
131 "DOC37":[numPerioKey, bookKey],
132 "DOC38":[perioKey, numPerioKey, dosPerioKey, bookKey],
133 "DOC39":[numPerioKey, articleKey, bookKey],
134 "DOC69":[perioKey, numPerioKey, dosPerioKey, bookKey],
135 "DOC70":[perioKey, numPerioKey, dosPerioKey, bookKey],
136 "DOC72":[perioKey, numPerioKey, dosPerioKey, articleKey],
137 "DOC73":[perioKey, numPerioKey],
138 "DOC77":[articleKey, bookKey],
139 "HISTBIB":[articleKey, bookKey],
140 "LIVRAISON":[perioKey, numPerioKey]
141 }>
142
143 <#list notes as note>
144 <#if note.values.nonFilmNoteType?hasContent && notesList[note.values.nonFilmNoteType]?? && notesList[note.values.nonFilmNoteType]?seqContains(imprimeType)>
145 <#assign noteFull = noteFull + [note]>
146 </#if>
147 </#list>
148</#if>
149
150<#assign numerosRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "sourceImprime1")>
151<#assign numeros = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, numerosRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
152
153<#assign numerosRelated = [] />
154<#if numeros?hasContent>
155 <#if imprimeEntry.values.bibliographicLevel == dosPerioKey || imprimeEntry.values.bibliographicLevel == articleKey>
156 <#list numeros as numero>
157 <#if numero.values.r_imprimeSource2_c_relatedObjectERC?hasContent>
158 <#attempt>
159 <#assign perioFound = objectEntryLocalService.fetchObjectEntry(numero.values.r_imprimeSource2_c_relatedObjectERC?substring("transi_"?length), imprimeEntry.objectDefinitionId)>
160 <#recover>
161 <#assign perioFound = "">
162 </#attempt>
163 <#if perioFound?hasContent>
164 <#assign numerosRelated = numerosRelated + [perioFound]>
165 </#if>
166 </#if>
167 </#list>
168 </#if>
169</#if>
170
171<#assign showIdentity = (ObjectField_typeDOeuvreAffiche.getData()?hasContent
172|| responsabilitys?hasContent
173|| editions?hasContent
174|| ObjectField_isbdBibliographicAddress.getData()?hasContent
175|| languages?hasContent
176|| ObjectField_searchYear.getData()?hasContent
177|| numeros?hasContent
178|| productions?hasContent
179|| ObjectField_physicalDescription.getData()?hasContent
180|| ObjectField_frequency.getData()?hasContent
181|| ObjectField_issn.getData()?hasContent
182|| ObjectField_isbn.getData()?hasContent
183|| noteFull?hasContent
184|| parentFound?hasContent
185)>
186
187<#--------------------------------- Description du contenu -------------------------->
188<#assign relatedFilmsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeRelatedFilms")>
189<#assign relatedFilms = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, relatedFilmsRel.objectRelationshipId, imprimeID, true, relatedFilmsRel.isReverse(), null, -1, -1 ) />
190<#assign relatedFilmsFull = []>
191<#list relatedFilms as relatedFilm>
192 <#assign filmData = garance.getFilmDisplayData(relatedFilm)>
193 <#if filmData?hasContent>
194 <#assign relatedFilmsFull = relatedFilmsFull + [filmData]>
195 </#if>
196</#list>
197
198<#assign representedPersonneRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "contentRepresentedPersonne")>
199<#assign representedPersonnes = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, representedPersonneRel.objectRelationshipId, imprimeID, true, representedPersonneRel.isReverse(), null, -1, -1 ) />
200
201<#assign subjectPersonneRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "contentSubjectPersonne")>
202<#assign subjectPersonnes = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, subjectPersonneRel.objectRelationshipId, imprimeID, true, subjectPersonneRel.isReverse(), null, -1, -1 ) />
203
204<#assign themesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeThemes")>
205<#assign themes = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, themesRel.objectRelationshipId, imprimeID, true, themesRel.isReverse(), null, -1, -1 ) />
206
207<#assign representationsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeRepresentations")>
208<#assign representations = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, representationsRel.objectRelationshipId, imprimeID, true, representationsRel.isReverse(), null, -1, -1 ) />
209
210<#assign representationsSourceRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeRepresentationSources")>
211<#assign representationsSource = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, representationsSourceRel.objectRelationshipId, imprimeID, true, representationsSourceRel.isReverse(), null, -1, -1 ) />
212
213<#assign stylesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeStyles")>
214<#assign styles = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, stylesRel.objectRelationshipId, imprimeID, true, stylesRel.isReverse(), null, -1, -1 ) />
215
216<#assign contentsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimePosterContents")>
217<#assign contents = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, contentsRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
218
219<#assign showDescription = (relatedFilmsFull?hasContent
220|| representedPersonnes?hasContent
221|| subjectPersonnes?hasContent
222|| themes?hasContent
223|| representations?hasContent
224|| representationsSource?hasContent
225|| styles?hasContent
226|| contents?hasContent)>
227
228
229<#--------------------------------- Synthèse coupures -------------------------->
230
231<#assign showSynthese = (ObjectField_revpresseOlddatecoupure.getData()?hasContent
232|| ObjectField_revpresseRecentdatecoupure.getData()?hasContent
233|| ObjectField_revpresseNbcoupures.getData()?hasContent
234)>
235
236<#--------------------------------- Coupures -------------------------->
237
238<#assign coupuresFull = []>
239<#if imprimeEntry.values.dataset == "revpresse">
240 <#assign coupuresRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "imprimeChildrenRevPressParts")>
241 <#assign coupures = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, coupuresRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
242 <#list coupures as coupure>
243 <#assign coupuresAuthorsFull = []>
244 <#assign coupuresDataRel = objectRelationshipLocalService.getObjectRelationship(coupure.objectDefinitionId, "revPresseData")>
245 <#assign coupuresData = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, coupuresDataRel.objectRelationshipId, coupure.objectEntryId, true, null, -1, -1 ) />
246 <#if coupuresData?hasContent>
247 <#assign coupuresAuthorsRel = objectRelationshipLocalService.getObjectRelationship(coupure.objectDefinitionId, "revPresseAuthors")>
248 <#assign coupuresAuthors = objectEntryLocalService.getManyToManyObjectEntries(imprimeGroupID, coupuresAuthorsRel.objectRelationshipId, coupure.objectEntryId, true, coupuresAuthorsRel.isReverse(), null, -1, -1 ) />
249 <#if coupuresAuthors?hasContent>
250 <#assign coupuresAuthorsFull = coupuresAuthors>
251 </#if>
252 <#assign coupuresFull = coupuresFull + [{"authors": coupuresAuthors, "data": coupuresData?first}]>
253 </#if>
254 </#list>
255</#if>
256<#assign showCoupure = coupuresFull?hasContent>
257
258<#--------------------------------- Collections consultatbles -------------------------->
259
260<#assign consultations = []>
261<#if imprimeEntry.values.bibliographicLevel == "BOOK" || (imprimeEntry.values.bibliographicLevel == "SERIALS" && imprimeEntry.values.descriptionLevel == "WORK") >
262 <#assign consultationsRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "consultation")>
263 <#assign consultations = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, consultationsRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
264 <#if consultations?hasContent>
265 <#assign consultations = consultations?filter(c->c.values.accesConditions != "ACNONCOMM") />
266 </#if>
267</#if>
268<#assign showCollCons = consultations?hasContent>
269
270<#--------------------------------- Numéro de périodique -------------------------->
271<#assign numeroPeriosFull = []>
272<#assign imprimePartOf = []>
273<#assign relatedObjectDef = objectDefinitionLocalService.fetchObjectDefinition(imprimeEntry.getCompanyId(), "C_RelatedObject")>
274<#attempt>
275 <#assign relatedObjectFound = objectEntryLocalService.fetchObjectEntry("transi_" + imprimeEntry.externalReferenceCode, relatedObjectDef.objectDefinitionId)>
276 <#recover>
277 <#assign relatedObjectFound = "">
278</#attempt>
279<#if relatedObjectFound?hasContent>
280 <#assign imprimePartOfRel = objectRelationshipLocalService.getObjectRelationship(relatedObjectFound.objectDefinitionId, "imprimePartOf")>
281 <#assign imprimePartOf = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, imprimePartOfRel.objectRelationshipId, relatedObjectFound.objectEntryId, true, null, -1, -1 ) />
282 <#list imprimePartOf as numeroPerio>
283 <#assign numeroPerioTitleRel = objectRelationshipLocalService.getObjectRelationship(numeroPerio.objectDefinitionId, "imprimeTitles")>
284 <#assign numeroPerioTitles = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, numeroPerioTitleRel.objectRelationshipId, numeroPerio.objectEntryId, true, null, -1, -1 ) />
285 <#assign numeroPerioTitles = numeroPerioTitles?filter(t-> t.values.titleCatalogageManifestationType == "TITPRO")>
286
287 <#assign numeroPerioNumRel = objectRelationshipLocalService.getObjectRelationship(numeroPerio.objectDefinitionId, "sourceImprime1")>
288 <#assign numeroPerioNums = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, numeroPerioNumRel.objectRelationshipId, numeroPerio.objectEntryId, true, null, -1, -1 ) />
289 <#assign numeroPerioNum = 9999999/>
290
291 <#if numeroPerioNums?hasContent>
292 <#if ((numeroPerioNums?first).values.sourceNumber)?hasContent>
293 <#assign rawSource = (numeroPerioNums?first).values.sourceNumber!"">
294
295 <#if rawSource?hasContent>
296 <#-- Pour le numéro de style "256 bis", on découpe pour ne récupérer que le numéro -->
297 <#assign cleanedSource = rawSource?keepBefore(" ")?trim>
298 <#-- On vérifie via une regex si le format est numérique -->
299 <#if rawSource?matches("^\\d+$")>
300 <#assign numeroPerioNum = rawSource?number />
301 <#elseIf cleanedSource?matches("^\\d+$")>
302 <#assign numeroPerioNum = cleanedSource?number />
303 </#if>
304 </#if>
305
306 </#if>
307 </#if>
308
309 <#if numeroPerioTitles?hasContent>
310 <#assign numeroPerioTitle = [(numeroPerioTitles?first).values.titleArticle, (numeroPerioTitles?first).values.title]?filter(v->v?hasContent)?join(" ")>
311 <#else>
312 <#assign numeroPerioTitle = numeroPerio.values.titleComplete>
313 </#if>
314 <#assign numeroPeriosFull = numeroPeriosFull + [{
315 "id": numeroPerio.objectEntryId,
316 "title": numeroPerioTitle,
317 "number": numeroPerioNum
318 }]>
319 </#list>
320 <#if numeroPeriosFull?hasContent>
321 <#assign numeroPeriosFull = numeroPeriosFull?sortBy("number") />
322 </#if>
323</#if>
324<#assign showNumeroPerios = numeroPeriosFull?hasContent>
325
326<#--------------------------------- Exemplaires consultables -------------------------->
327<#assign exemplariesFull = []>
328<#assign finalItems = []>
329<#if imprimeEntry.values.bibliographicLevel == "SERIALS" || imprimeEntry.values.bibliographicLevel == "BOOK">
330 <#assign maybeItemParents = imprimePartOf + [imprimeEntry]>
331 <#list maybeItemParents as maybeItemParent>
332 <#assign finalItemRel = objectRelationshipLocalService.getObjectRelationship(maybeItemParent.objectDefinitionId, "imprimeChildrenItem")>
333 <#assign finalItems = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, finalItemRel.objectRelationshipId, maybeItemParent.objectEntryId, true, null, -1, -1 ) />
334 </#list>
335 <#list finalItems as finalItem>
336 <#assign exemplariesRel = objectRelationshipLocalService.getObjectRelationship(finalItem.objectDefinitionId, "consultations")>
337 <#assign exemplaries = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, exemplariesRel.objectRelationshipId, finalItem.objectEntryId, true, null, -1, -1 ) />
338 <#if exemplaries?hasContent>
339 <#assign exemplaries = exemplaries?filter(e->e.values.accesConditions != "ACNONCOMM") />
340 </#if>
341 <#if exemplaries?hasContent>
342 <#assign exemplariesFull = exemplariesFull + [{
343 "cote": finalItem.values.cote,
344 "consultations": exemplaries
345 }]>
346 </#if>
347 </#list>
348<#elseIf imprimeEntry.values.dataset = "revpresse">
349 <#assign exemplariesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "consultation")>
350 <#assign exemplaries = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, exemplariesRel.objectRelationshipId, imprimeEntry.objectEntryId, true, null, -1, -1 ) />
351 <#if exemplaries?hasContent>
352 <#assign exemplaries = exemplaries?filter(e->e.values.accesConditions != "ACNONCOMM") />
353 </#if>
354 <#if exemplaries?hasContent>
355 <#assign exemplariesFull = exemplariesFull + [{
356 "cote": imprimeEntry.values.cote,
357 "consultations": exemplaries
358 }]>
359 </#if>
360</#if>
361
362<#assign showExemplaries = exemplariesFull?hasContent>
363
364<#--------------------------------- Article de périodique -------------------------->
365<#assign articlePerioFull = []>
366<#assign articlePerioRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "bibDossier")>
367<#assign articlePerios = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, articlePerioRel.objectRelationshipId, imprimeEntry.objectEntryId, true, null, -1, -1 ) />
368<#list articlePerios as articlePerio>
369 <#if articlePerio.values.r_relatedObject2_c_relatedObjectERC?hasContent>
370 <#attempt>
371 <#assign relatedArticleFound = objectEntryLocalService.fetchObjectEntry(articlePerio.values.r_relatedObject2_c_relatedObjectERC?substring("transi_"?length), imprimeEntry.objectDefinitionId)>
372 <#recover>
373 <#assign relatedArticleFound = "">
374 </#attempt>
375 <#if relatedArticleFound?hasContent>
376 <#assign articlePerioFull = articlePerioFull + [{
377 "id": relatedArticleFound.objectEntryId,
378 "title": relatedArticleFound.values.titleComplete,
379 "year": relatedArticleFound.values.searchYear,
380 "order": articlePerio.values.order
381 }]>
382 </#if>
383 </#if>
384</#list>
385<#assign showArticlePerios = articlePerioFull?hasContent>
386
387<#--------------------------------- Collections -------------------------->
388
389<#assign relatedObjectTypesRel = objectRelationshipLocalService.getObjectRelationship(imprimeEntry.objectDefinitionId, "relatedObject1")>
390<#assign relatedObjectTypes = objectEntryLocalService.getOneToManyObjectEntries(imprimeGroupID, relatedObjectTypesRel.objectRelationshipId, imprimeID, true, null, -1, -1 ) />
391<#assign relatedObjectsFull = garance.getRelatedObjects(relatedObjectTypes, imprimeEntry, true)>
392
393<#assign showCollection = relatedObjectsFull?hasContent>
394<#assign showExemplaries = (showExemplaries || archiveParts?hasContent)>
395
396<div class="notice notice--imprime js-notice">
397 <div class="notice-header tw:text-white tw:pt-[3.375rem] tw:pb-[2.5rem] tw:relative tw:overflow-hidden
398 tw:before:content-[''] tw:before:absolute tw:before:inset-0 tw:before:size-full tw:before:block tw:before:bg-text tw:before:opacity-90
399 tw:xl:pt-[9.5rem]">
400 <div class="page-wrapper tw:z-0 tw:relative">
401 <#if request.getParameter("searchContext")?hasContent>
402 <@garance.noticePagination request.getParameter("searchContext") imprimeID />
403 </#if>
404 <div class="tw:flex tw:gap-5 tw:items-start tw:flex-wrap tw:flex-col tw:z-0
405 tw:md:flex-row tw:lg:flex-nowrap
406 tw:xl:gap-[2.125rem]">
407 <div class="tw:order-2 tw:lg:order-1 tw:flex tw:flex-col tw:w-full tw:text-center
408 tw:md:w-fit tw:md:text-left">
409 <h1 class="tw:order-1 tw:text-prim tw:mb-[0.625rem]">
410 <#if imprimeTitlesPro?hasContent>
411 ${[(imprimeTitlesPro?first).values.titleArticle, (imprimeTitlesPro?first).values.title]?filter(v->v?hasContent)?join(" ")}
412 <#elseIf ObjectField_titleComplete.getData()?hasContent>
413 ${ObjectField_titleComplete.getData()}
414 </#if>
415 </h1>
416 <#if !thumbnail?hasContent && imprimeEntry.values.dataset?hasContent>
417 <p class="tw:order-0 tw:mb-5 tw:text-[0.75rem]/[1rem] tw:block tw:mx-auto tw:rounded-xs tw:w-fit tw:bg-[rgba(255,255,255,0.9)] tw:text-prim tw:uppercase tw:px-[0.625rem] tw:py-1
418 tw:md:mx-0">
419 <#if imprimeEntry.values.dataset == "document">Imprimés<#elseIf imprimeEntry.values.dataset == "revpresse">Revues de presse</#if>
420 </p>
421 </#if>
422 <#if imprimeTitles?hasContent>
423 <p class="tw:order-1 tw:font-title tw:text-[1.25rem]/[1.875rem] tw:font-medium">
424 <#list imprimeTitles as imprimeTitle><#if imprimeTitle.values.titleArticle?hasContent>${imprimeTitle.values.titleArticle} </#if>${imprimeTitle.values.title}. </#list>
425 </p>
426 </#if>
427 <div class="tw:order-1 tw:relative tw:pt-5 tw:mt-5 tw:text-left
428 tw:before:block tw:before:content-[''] tw:before:absolute tw:before:top-0 tw:before:h-[0.0625rem] tw:before:w-full tw:before:bg-white tw:before:opacity-20
429 tw:md:before:w-[12.8125rem] ">
430 <#if ObjectField_bibliographicLevel.getData()?hasContent>
431 <p class="tw:mb-[0.625rem]">
432 ${ObjectField_bibliographicLevel.getData()}
433 </p>
434 </#if>
435 <#if imprimeAuthorFull?hasContent>
436 <p class="tw:mb-[0.625rem]">
437 <#list imprimeAuthorFull as imprimeAuthor>
438 <#if imprimeAuthor.personne.id?hasContent>
439 <a href="/l/${imprimeAuthor.personne.id}${searchUrl}"
440 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]">
441 ${imprimeAuthor.personne.name}
442 </a>
443 <#else>${imprimeAuthor.personne.name}</#if><#if imprimeAuthor.fonction?hasContent> (${imprimeAuthor.fonction})</#if><#if !imprimeAuthor?isLast> ; </#if>
444 </#list>
445 </p>
446 </#if>
447 </div>
448 </div>
449 <#if thumbnail?hasContent>
450 <div class="tw:order-1 tw:lg:order-0 tw:w-full
451 tw:md:w-fit">
452 <div class="tw:m-auto tw:mx-auto tw:max-w-full tw:w-[15.625rem] tw:relative
453 tw:md:mx-0">
454 <#if imprimeEntry.values.dataset?hasContent>
455 <p class="tw:absolute tw:top-[0.625rem] tw:left-[0.625rem] tw:text-[0.75rem]/[1rem] tw:block tw:rounded-xs tw:w-fit tw:bg-[rgba(255,255,255,0.9)] tw:text-prim tw:uppercase tw:px-[0.625rem] tw:py-1">
456 <#if imprimeEntry.values.dataset == "document">Imprimés<#elseIf imprimeEntry.values.dataset == "revpresse">Revues de presse</#if>
457 </p>
458 </#if>
459 <#assign fileEntryDesktop = dlAppLocalService.getFileEntry(thumbnail.values.media?number) />
460 <#assign thumbnailURL = dlURLHelper.getPreviewURL(fileEntryDesktop, fileEntryDesktop.getFileVersion(),
461 null, "",
462 !fileEntryDesktop.getFileVersion().equals(fileEntryDesktop.getLatestFileVersion()), true) />
463
464 <figure class="tw:w-full">
465 <source media="(min-width: 480px)"
466 srcset="${thumbnailURL}"/>
467 <img class="tw:rounded-xs tw:object-cover tw:size-full" alt=""
468 src="${thumbnailURL}"/>
469 <#if thumbnail.values.reproductionNotes?hasContent || thumbnail.values.reproductionCopyright?hasContent>
470 <figcaption class="tw:ml-[0.625rem] tw:opacity-70 tw:text-[0.75rem]/[1rem] tw:font-medium tw:mt-[0.3125rem]
471 tw:md:ml-0">
472 ${[thumbnail.values.reproductionNotes, thumbnail.values.reproductionCopyright]?filter(v->v?hasContent)?join(" - ")}
473 </figcaption>
474 </#if>
475 </figure>
476 </div>
477 </div>
478 </#if>
479 <@garance.noticeTools />
480 </div>
481 </div>
482 </div>
483 <div class="notice-content">
484
485 <div class="tw:overflow-y-clip tw:py-10">
486 <div class="page-wrapper summary-ancres js-summary-ancres tw:group tw:fixed tw:w-full tw:overflow-hidden tw:h-fit tw:z-50 tw:top-[4.375rem] tw:bg-beige tw:max-lg:max-w-full!
487 tw:lg:top-[6.875rem] tw:lg:h-0 tw:lg:overflow-visible tw:lg:sticky
488 tw:xl:top-[8.85rem]">
489 <nav class="tw:bg-beige tw:lg:w-[14.25rem]" role="navigation" aria-labelledby="summary-title">
490 <button id="summary-title" class="js-summary-btn tw:text-h3 tw:font-title tw:flex tw:justify-between tw:items-center tw:py-[0.625rem] tw:w-full tw:max-sm:px-[calc(2.5rem/2)] tw:focus:outline-offset-[-0.125rem]
491 tw:max-lg:px-[calc(5rem/2)]
492 tw:lg:hidden" aria-label="Ouvrir/Fermer le sommaire" aria-expanded="false"
493 aria-controls="summary-list">
494 <span>Sommaire</span>
495 <span class="icon-chevron-down tw:text-prim tw:text-base tw:transition-all tw:outline-offset-[-0.125rem]
496 tw:group-[&.open]:rotate-180" aria-hidden="true"></span>
497 </button>
498 <div id="summary-list" class="tw:overflow-y-auto tw:bg-white tw:transition-all tw:max-sm:px-[calc(2.5rem/2)]
499 tw:max-lg:max-h-0 tw:max-lg:px-[calc(5rem/2)] tw:max-lg:max-w-full
500 tw:group-[&.open]:max-h-[calc(100vh-(4.375rem+3.125rem))]
501 tw:lg:max-h-[calc(100vh-12.5rem)] tw:lg:bg-transparent" tabindex="-1">
502 <ul class="tw:border-sommaire-border tw:border-l-[0.125rem] tw:my-2">
503 <#if showIdentity>
504 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
505 <a href="#identite" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
506 tw:[&.is-active]:border-prim" tabindex="-1">
507 <span>${summary["IdentiteImprime"]?hasContent?then(summary["IdentiteImprime"], "Identité")}</span>
508 </a>
509 </li>
510 </#if>
511 <#if showDescription>
512 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
513 <a href="#description" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
514 tw:[&.is-active]:border-prim" tabindex="-1">
515 <span>${summary["DescriptionDuContenuImprime"]?hasContent?then(summary["DescriptionDuContenuImprime"], "Description du contenu")}</span>
516 </a>
517 </li>
518 </#if>
519 <#if showSynthese>
520 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
521 <a href="#synth-coupures" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
522 tw:[&.is-active]:border-prim" tabindex="-1">
523 <span>${summary["SyntheseCoupuresImprime"]?hasContent?then(summary["SyntheseCoupuresImprime"], "Synthèse coupures")}</span>
524 </a>
525 </li>
526 </#if>
527 <#if showCoupure>
528 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
529 <a href="#coupures" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
530 tw:[&.is-active]:border-prim" tabindex="-1">
531 <span>${summary["CoupuresImprime"]?hasContent?then(summary["CoupuresImprime"], "Coupures")}</span>
532 </a>
533 </li>
534 </#if>
535 <#if showCollCons>
536 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
537 <a href="#collect-cons" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
538 tw:[&.is-active]:border-prim" tabindex="-1">
539 <span>${summary["CollectionsConsultablesImprime"]?hasContent?then(summary["CollectionsConsultablesImprime"], "Collections consultables")}</span>
540 </a>
541 </li>
542 </#if>
543 <#if showExemplaries>
544 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
545 <a href="#exemples-cons" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
546 tw:[&.is-active]:border-prim" tabindex="-1">
547 <span>${summary["ExemplairesConsultablesImprime"]?hasContent?then(summary["ExemplairesConsultablesImprime"], "Exemplaires consultables")}</span>
548 </a>
549 </li>
550 </#if>
551 <#if showNumeroPerios>
552 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
553 <a href="#num-perio" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
554 tw:[&.is-active]:border-prim" tabindex="-1">
555 <span>${summary["NumerosDePeriodiqueImprime"]?hasContent?then(summary["NumerosDePeriodiqueImprime"], "Numéros de périodique")}</span>
556 </a>
557 </li>
558 </#if>
559 <#if showArticlePerios>
560 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
561 <a href="#arti-perio" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
562 tw:[&.is-active]:border-prim" tabindex="-1">
563 <span>${summary["ArticlesDePeriodiqueImprime"]?hasContent?then(summary["ArticlesDePeriodiqueImprime"], "Articles de périodique")}</span>
564 </a>
565 </li>
566 </#if>
567 <#if showMedia>
568 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
569 <a href="#ressources" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
570 tw:[&.is-active]:border-prim" tabindex="-1">
571 <span>${summary["RessourcesMediaImprime"]?hasContent?then(summary["RessourcesMediaImprime"], "Ressources média")}</span>
572 </a>
573 </li>
574 </#if>
575 <#if showCollection>
576 <li class="tw:py-1 tw:first:pt-0 tw:last:pb-0 tw:lg:py-[0.625rem]">
577 <a href="#collections" class="js-summary-ancres-link tw:border-l-[0.125rem] tw:border-transparent tw:block tw:py-1 tw:text-base/[1.75rem] tw:font-title tw:pl-[0.625rem] tw:relative tw:left-[-0.125rem]
578 tw:[&.is-active]:border-prim" tabindex="-1">
579 <span>${summary["CollectionsLieesImprime"]?hasContent?then(summary["CollectionsLieesImprime"], "Collections liées")}</span>
580 </a>
581 </li>
582 </#if>
583 </ul>
584 </div>
585 </nav>
586 </div>
587
588 <#if showIdentity>
589 <div id="identite" class="js-summary-content" tabindex="-1"></div>
590 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:pb-10">
591 <h2 class="tw:text-prim tw:mb-5">${summary["IdentiteImprime"]?hasContent?then(summary["IdentiteImprime"], "Identité")}</h2>
592
593 <#if parentFound?hasContent>
594 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
595 <span class="tw:font-bold tw:shrink-0">Périodique :</span>
596 <a href="/l/${parentFound.objectEntryId}${searchUrl}"
597 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
598 ${parentFound.values.titleComplete}</a>
599 </p>
600 </#if>
601
602 <#if numerosRelated?hasContent>
603 <#list numerosRelated as numeroRelated>
604 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
605 <span class="tw:font-bold tw:shrink-0">Périodique :</span>
606 <a href="/l/${numeroRelated.objectEntryId}${searchUrl}"
607 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
608 ${numeroRelated.values.titleComplete}</a>
609 </p>
610 </#list>
611 </#if>
612
613 <#if ObjectField_typeDOeuvreAffiche.getData()?hasContent>
614 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
615 <span class="tw:font-bold tw:shrink-0">Type de document :</span>
616 <span>${ObjectField_typeDOeuvreAffiche.getData()}</span>
617 </p>
618 </#if>
619
620 <#if responsabilitys?hasContent>
621 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
622 <span class="tw:font-bold tw:shrink-0">Mention de responsabilité :</span>
623 <span>${responsabilitys?filter(r-> r.values.statementResponsibility?hasContent)?map(r->r.values.statementResponsibility)?join(", ")}</span>
624 </p>
625 </#if>
626
627 <#if editions?hasContent>
628 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
629 <span class="tw:font-bold tw:shrink-0">Édition :</span>
630 <span>${editions?filter(e-> e.values.editionDocument?hasContent)?map(e->e.values.editionDocument)?join(", ")}</span>
631 </p>
632 </#if>
633
634 <#if ObjectField_isbdBibliographicAddress.getData()?hasContent>
635 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
636 <span class="tw:font-bold tw:shrink-0">Publication :</span>
637 <span>${ObjectField_isbdBibliographicAddress.getData()}</span>
638 </p>
639 </#if>
640
641 <#if languages?hasContent>
642 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
643 <span class="tw:font-bold tw:shrink-0">Langue :</span>
644 <span>${languages?filter(l-> l.values.label?hasContent)?map(l->l.values.label)?join(", ")}</span>
645 </p>
646 </#if>
647
648 <#if ObjectField_searchYear.getData()?hasContent>
649 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
650 <span class="tw:font-bold tw:shrink-0">Année :</span>
651 <span>${ObjectField_searchYear.getData()?datetime("dd/MM/yyyy HH:mm")?string("yyyy")}</span>
652 </p>
653 </#if>
654
655 <#if numeros?hasContent>
656 <#list numeros as numero>
657 <#if numero.values.sourcePhysicalDescription?hasContent>
658 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
659 <span class="tw:font-bold tw:shrink-0">Description physique :</span>
660 <span>${numero.values.sourcePhysicalDescription}</span>
661 </p>
662 </#if>
663 <#if numero.values.sourceNumber?hasContent>
664 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
665 <span class="tw:font-bold tw:shrink-0">Numéro :</span>
666 <span>${numero.values.sourceNumber}</span>
667 </p>
668 </#if>
669 <#if numero.values.sourceNumberCpl?hasContent>
670 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
671 <span class="tw:font-bold tw:shrink-0">Numéro complémentaire :</span>
672 <span>${numero.values.sourceNumberCpl}</span>
673 </p>
674 </#if>
675 <#if numero.values.sourceParution?hasContent>
676 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
677 <span class="tw:font-bold tw:shrink-0">Forme de parution :</span>
678 <span>${garance.getPicklistItemName(numero.values.sourceParution, "picklistSourceParution")}</span>
679 </p>
680 </#if>
681 <#if numero.values.sourcePublicationDate?hasContent>
682 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
683 <span class="tw:font-bold tw:shrink-0">Date de publication :</span>
684 <span>${numero.values.sourcePublicationDate}</span>
685 </p>
686 </#if>
687 <#if numero.values.sourcePagination?hasContent>
688 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
689 <span class="tw:font-bold tw:shrink-0">Pagination :</span>
690 <span>${numero.values.sourcePagination}</span>
691 </p>
692 </#if>
693 </#list>
694 </#if>
695
696 <#if productions?hasContent>
697 <#assign productionCountries = productions?filter(p -> p.values.r_imprimeProductionCountry_c_thesaurusId?string !="0")?map(p -> garance.getThesaurusByID(p.values.r_imprimeProductionCountry_c_thesaurusId))>
698 <#assign productionDates = productions?filter(p -> p.values.productionDateStart?hasContent)?map(p -> [p.values.productionDateStart, p.values.productionDateEnd!""]?filter(v->v?hasContent))>
699 <#if productionCountries?hasContent>
700 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
701 <span class="tw:font-bold tw:shrink-0">Pays :</span>
702 <span>${productionCountries?join(", ")}</span>
703 </p>
704 </#if>
705 <#if productionDates?hasContent>
706 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
707 <span class="tw:font-bold tw:shrink-0">Année :</span>
708 <span>${productionDates?map(p->p?map(pv->pv?string("yyyy"))?join(" - "))?join(", ")}</span>
709 </p>
710 </#if>
711 </#if>
712
713 <#if ObjectField_physicalDescription.getData()?hasContent>
714 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
715 <span class="tw:font-bold tw:shrink-0">Description physique :</span>
716 <span>${ObjectField_physicalDescription.getData()}</span>
717 </p>
718 </#if>
719
720 <#if ObjectField_frequency.getData()?hasContent>
721 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
722 <span class="tw:font-bold tw:shrink-0">Fréquence :</span>
723 <span>${ObjectField_frequency.getData()}</span>
724 </p>
725 </#if>
726
727 <#if ObjectField_issn.getData()?hasContent>
728 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
729 <span class="tw:font-bold tw:shrink-0">ISSN :</span>
730 <span>${ObjectField_issn.getData()}</span>
731 </p>
732 </#if>
733
734 <#if ObjectField_isbn.getData()?hasContent>
735 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
736 <span class="tw:font-bold tw:shrink-0">ISBN :</span>
737 <span>${ObjectField_isbn.getData()}</span>
738 </p>
739 </#if>
740
741 <#if noteFull?hasContent>
742 <#list noteFull as note>
743 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
744 <span class="tw:font-bold tw:shrink-0">${garance.getPicklistItemName(note.values.nonFilmNoteType, "picklistNonFilmNoteType")} :</span>
745 <span>${note.values.nonFilmNote}</span>
746 </p>
747 </#list>
748 </#if>
749
750 </div>
751 </#if>
752
753 <#if showDescription>
754 <div id="description" class="js-summary-content" tabindex="-1"></div>
755 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
756 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
757 <h2 class="tw:text-prim tw:mb-5">${summary["DescriptionDuContenuImprime"]?hasContent?then(summary["DescriptionDuContenuImprime"], "Description du contenu")}</h2>
758
759 <#if relatedFilmsFull?hasContent>
760 <div class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
761 <p id="films-tlt" class="tw:leading-[1.375rem] tw:font-bold tw:shrink-0">Film(s) :</p>
762 <div class="js-list-expand">
763 <ul aria-labelledby="films-tlt">
764 <#list relatedFilmsFull as relatedFilm>
765 <li <#if (relatedFilm?index > 4)>class="tw:hidden"</#if>>
766 <#if relatedFilm.id?hasContent>
767 <a href="/l/${relatedFilm.id}${searchUrl}"
768 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]">
769 ${relatedFilm.title}
770 </a>
771 <#else>
772 ${relatedFilm.title}
773 </#if>
774 <#if relatedFilm.reals?hasContent> -
775 <#list relatedFilm.reals as real>
776 <#if real.id?hasContent>
777 <a class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]"
778 href="/l/${real.id}${searchUrl}">
779 ${real.name}
780 </a>
781 <#else>
782 ${real.name}
783 </#if>
784 <#if !real?isLast>, </#if>
785 </#list>
786 </#if>
787 <#if relatedFilm.year?hasContent> - ${relatedFilm.year}</#if>
788 </li>
789 </#list>
790 </ul>
791 <#if (relatedFilmsFull?size > 5)>
792 <button type="button"
793 class="js-expand tw:items-center tw:leading-[1.75rem] tw:group tw:flex tw:gap-[0.3125rem] tw:font-semibold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
794 <span>Voir plus</span>
795 <span class="icon-chevron-down tw:inline-block tw:text-prim tw:text-base tw:transition-all tw:text-[0.875rem] tw:rotate-0
796 tw:group-hover:rotate-180 tw:group-data-[expanded=true]:rotate-180" aria-hidden="true"></span>
797 </button>
798 </#if>
799 </div>
800 </div>
801 </#if>
802
803 <#if representedPersonnes?hasContent>
804 <#assign representedPersonnes = representedPersonnes?map(rp -> garance.getPersonneDisplayData(rp.objectEntryId))>
805 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
806 <span class="tw:font-bold tw:shrink-0">Personne(s) représentée(s) :</span>
807 <span><#list representedPersonnes as rp><#if rp.id?hasContent>
808 <a href="/l/${rp.id}${searchUrl}"
809 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]">
810 ${rp.name}
811 </a>
812 <#else>${rp.name}</#if><#if !rp?isLast>, </#if>
813 </#list></span>
814 </p>
815 </#if>
816
817 <#if subjectPersonnes?hasContent>
818 <#assign subjectPersonnes = subjectPersonnes?map(sp -> garance.getPersonneDisplayData(sp.objectEntryId))>
819 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
820 <span class="tw:font-bold tw:shrink-0">Personne(s) sujet :</span>
821 <span><#list subjectPersonnes as sp><#if sp.id?hasContent>
822 <a href="/l/${sp.id}${searchUrl}"
823 class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]">
824 ${sp.name}
825 </a>
826 <#else>${sp.name}</#if><#if !sp?isLast>, </#if>
827 </#list></span>
828 </p>
829 </#if>
830
831 <#if themes?hasContent>
832 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
833 <span class="tw:font-bold tw:shrink-0">Thème :</span>
834 <span>${themes?map(t->t.values.label)?join(", ")}</span>
835 </p>
836 </#if>
837
838 <#if representations?hasContent>
839 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
840 <span class="tw:font-bold tw:shrink-0">Représentation :</span>
841 <span>${representations?map(r->r.values.label)?join(", ")}</span>
842 </p>
843 </#if>
844
845 <#if representationsSource?hasContent>
846 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
847 <span class="tw:font-bold tw:shrink-0">Source de la représentation :</span>
848 <span>${representationsSource?map(rs->rs.values.label)?join(", ")}</span>
849 </p>
850 </#if>
851
852 <#if styles?hasContent>
853 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
854 <span class="tw:font-bold tw:shrink-0">Époque/Style/Mouvement :</span>
855 <span>${styles?map(s->s.values.label)?join(", ")}</span>
856 </p>
857 </#if>
858
859 <#if contents?hasContent>
860 <#list contents as content>
861 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
862 <#if content.values.imprimePosterContentType?hasContent><span
863 class="tw:font-bold tw:shrink-0">${garance.getPicklistItemName(content.values.imprimePosterContentType, "picklistImprimePosterContentType")}
864 :</span></#if>
865 <span>${content.values.posterContentText?replace("\n", "<br />")}<#if content.values.posterContentSourceTexte?hasContent> (${content.values.posterContentSourceTexte})</#if></span>
866 </p>
867 </#list>
868 </#if>
869
870 </div>
871 </#if>
872
873 <#if showSynthese>
874 <div id="synth-coupures" class="js-summary-content" tabindex="-1"></div>
875 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
876 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
877 <h2 class="tw:text-prim tw:mb-5">${summary["SyntheseCoupuresImprime"]?hasContent?then(summary["SyntheseCoupuresImprime"], "Synthèse coupures")}</h2>
878 <#if ObjectField_revpresseOlddatecoupure.getData()?hasContent>
879 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
880 <span class="tw:font-bold tw:shrink-0">La plus ancienne :</span>
881 <span>${ObjectField_revpresseOlddatecoupure.getData()?datetime("dd/MM/yyyy HH:mm")?string("dd/MM/yyyy")}</span>
882 </p>
883 </#if>
884 <#if ObjectField_revpresseRecentdatecoupure.getData()?hasContent>
885 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
886 <span class="tw:font-bold tw:shrink-0">La plus récente :</span>
887 <span>${ObjectField_revpresseRecentdatecoupure.getData()?datetime("dd/MM/yyyy HH:mm")?string("dd/MM/yyyy")}</span>
888 </p>
889 </#if>
890 <#if ObjectField_revpresseNbcoupures.getData()?hasContent>
891 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
892 <span class="tw:font-bold tw:shrink-0">Nombre de coupures :</span>
893 <span>${ObjectField_revpresseNbcoupures.getData()}</span>
894 </p>
895 </#if>
896 </div>
897 </#if>
898
899 <#if showCoupure>
900 <div id="coupures" class="js-summary-content" tabindex="-1"></div>
901 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
902 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
903 <h2 id="coupure-tlt"
904 class="tw:text-prim tw:mb-5">${summary["CoupuresImprime"]?hasContent?then(summary["CoupuresImprime"], "Coupures")}</h2>
905 <div class="wysiwyg js-list-expand">
906 <ul aria-labelledby="coupure-tlt">
907 <#-- ToDo - Ajouter lien vers les images -->
908 <#assign coupuresClean = []>
909 <#list coupuresFull as c>
910 <#assign clean = {
911 "title": (c.data.values.title)!"",
912 "date": (c.data.values.date?hasContent)?then(c.data.values.date, "1900-01-01"?date),
913 "raw": c
914 }>
915 <#assign coupuresClean += [clean]>
916 </#list>
917
918 <#assign coupuresSorted = coupuresClean?sortBy("date")?sortBy("title")>
919
920 <#list coupuresSorted as coupure>
921 <li <#if (coupure?index > 4)>class="tw:hidden"</#if>>${coupure.title}<#if coupure.raw.data.values.date?hasContent> du ${coupure.raw.data.values.date?string("dd/MM/yyyy")}</#if><#if coupure.authors?hasContent> ${coupure.authors?map(a->garance.getPersonneDisplayData(a.objectEntryId).name)?join(", ")}</#if><#if coupure.raw.data.values.numPage?hasContent> p. ${coupure.raw.data.values.numPage}</#if></li>
922 </#list>
923 </ul>
924 <#if (coupures?size > 5)>
925 <button type="button"
926 class="js-expand tw:items-center tw:leading-[1.75rem] tw:group tw:flex tw:gap-[0.3125rem] tw:font-semibold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
927 <span>Voir plus</span>
928 <span class="icon-chevron-down tw:inline-block tw:text-prim tw:text-base tw:transition-all tw:text-[0.875rem] tw:rotate-0
929 tw:group-hover:rotate-180 tw:group-data-[expanded=true]:rotate-180" aria-hidden="true"></span>
930 </button>
931 </#if>
932 </div>
933 </div>
934 </#if>
935
936 <#if showCollCons>
937 <div id="collect-cons" class="js-summary-content" tabindex="-1"></div>
938 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
939 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
940 <h2 class="tw:text-prim tw:mb-5">${summary["CollectionsConsultablesImprime"]?hasContent?then(summary["CollectionsConsultablesImprime"], "Collections consultables")}</h2>
941 <#list consultations as consultation>
942 <#assign etatCollCollection = "">
943 <#if consultation.values.etatCollCollection?hasContent>
944 <#assign etatCollCollection = garance.getPicklistItemName(consultation.values.etatCollCollection, "picklistEtatCollCollection")>
945 </#if>
946 <#assign lieuDeConsultation = "">
947 <#if consultation.values.lieuDeConsultation?hasContent>
948 <#assign lieuDeConsultation = garance.getPicklistItemName(consultation.values.lieuDeConsultation, "picklistLieuDeConsultation")>
949 </#if>
950 <#assign accesConditions = "">
951 <#if consultation.values.accesConditions?hasContent>
952 <#assign accesConditions = garance.getPicklistItemName(consultation.values.accesConditions, "picklistAccesConditions")>
953 </#if>
954 <#assign cons = [
955 etatCollCollection,
956 lieuDeConsultation,
957 accesConditions,
958 consultation.values.cote
959 ]>
960 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
961 <span class="tw:font-bold tw:shrink-0">Consultation :</span>
962 <span>${cons?filter(v -> v?hasContent)?join(" - ")}</span>
963 </p>
964 <#if consultation.values.perioEtatCollEtat?hasContent>
965 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
966 <span class="tw:font-bold tw:shrink-0">État de la collection :</span>
967 <span>${consultation.values.perioEtatCollEtat}</span>
968 </p>
969 </#if>
970 </#list>
971 </div>
972 </#if>
973
974 <#if showExemplaries>
975 <div id="exemples-cons" class="js-summary-content" tabindex="-1"></div>
976 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
977 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
978 <h2 class="tw:text-prim tw:mb-5">${summary["ExemplairesConsultablesImprime"]?hasContent?then(summary["ExemplairesConsultablesImprime"], "Exemplaires consultables")}</h2>
979 <p class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
980 <span class="tw:font-bold tw:shrink-0">Consultation :</span>
981 <span class="tw:flex tw:flex-col">
982 <#list exemplariesFull as exemplary>
983 <#assign itemConsultations = "" />
984 <#list exemplary.consultations as consultation>
985 <#assign lieuDeConsultation = "">
986 <#if consultation.values.lieuDeConsultation?hasContent>
987 <#assign lieuDeConsultation = garance.getPicklistItemName(consultation.values.lieuDeConsultation, "picklistLieuDeConsultation")>
988 </#if>
989 <#assign accesConditions = "">
990 <#if consultation.values.accesConditions?hasContent>
991 <#assign accesConditions = garance.getPicklistItemName(consultation.values.accesConditions, "picklistAccesConditions")>
992 </#if>
993 <#assign itemConsultations = itemConsultations + [lieuDeConsultation, accesConditions]?filter(v -> v?hasContent)?join(" - ")>
994 </#list>
995 <span class="tw:block">${[exemplary.cote, itemConsultations]?filter(v -> v?hasContent)?join(" - ")}</span>
996 </#list>
997 </span>
998 </p>
999 <#if archiveParts?hasContent>
1000 <div class="tw:flex tw:max-md:flex-col tw:max-lg:flex-wrap tw:items-start tw:gap-[0.625rem] tw:text-notice tw:mb-[0.625rem]">
1001 <p id="archive-tlt" class="tw:leading-[1.375rem] tw:font-bold tw:shrink-0">Appartenance à un
1002 fonds d'archives :</p>
1003 <ul aria-labelledby="archive-tlt">
1004 <#list archiveParts as archivePart>
1005 <#assign archiveDataset = "">
1006 <#if archivePart.archive.values.dataset?hasContent>
1007 <#assign archiveDataset = garance.getPicklistItemName(archivePart.archive.values.dataset, "picklistDataset")>
1008 </#if>
1009 <li>
1010 <a class="tw:font-bold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.0625rem] tw:hover:bg-size-[0_0.0625rem]"
1011 href="/l/${archivePart.object.objectEntryId}${searchUrl}">${archivePart.type}<#if archivePart.archive.values.cote?hasContent> ${archivePart.archive.values.cote}</#if><#if archivePart.archive.values.titleComplete?hasContent> [${archivePart.archive.values.titleComplete}]</#if><#if archiveDataset?hasContent> (${archiveDataset})</#if>
1012 </a>
1013 </li>
1014 </#list>
1015 </ul>
1016 </div>
1017 </#if>
1018 </div>
1019 </#if>
1020
1021 <#if showNumeroPerios>
1022 <div id="num-perio" class="js-summary-content" tabindex="-1"></div>
1023 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
1024 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
1025 <h2 id="numero-tlt"
1026 class="tw:text-prim tw:mb-5">${summary["NumerosDePeriodiqueImprime"]?hasContent?then(summary["NumerosDePeriodiqueImprime"], "Numéros de périodique")}</h2>
1027 <div class="wysiwyg js-list-expand">
1028 <ul aria-labelledby="numero-tlt">
1029 <#list numeroPeriosFull as numero>
1030 <li <#if (numero?index > 4)>class="tw:hidden"</#if>>
1031 <a href="/l/${numero.id}${searchUrl}"
1032 class="tw:font-bold! tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">${numero.title}</a>
1033 </li>
1034 </#list>
1035 </ul>
1036 <#if (numeroPeriosFull?size > 5)>
1037 <button type="button"
1038 class="js-expand tw:items-center tw:leading-[1.75rem] tw:group tw:flex tw:gap-[0.3125rem] tw:font-semibold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
1039 <span>Voir plus</span>
1040 <span class="icon-chevron-down tw:inline-block tw:text-prim tw:text-base tw:transition-all tw:text-[0.875rem] tw:rotate-0
1041 tw:group-hover:rotate-180 tw:group-data-[expanded=true]:rotate-180" aria-hidden="true"></span>
1042 </button>
1043 </#if>
1044 </div>
1045 </div>
1046 </#if>
1047
1048 <#if showArticlePerios>
1049 <div id="art-perio" class="js-summary-content" tabindex="-1"></div>
1050 <div class="summary-content-wrapper page-wrapper tw:lg:pl-[16.75rem] tw:py-10
1051 tw:before:content-[''] tw:before:block tw:before:relative tw:before:top-[-2.5rem] tw:before:h-[0.0625rem] tw:before:w-full tw:before:ml-auto tw:before:bg-text tw:before:opacity-40">
1052 <h2 id="article-perio-tlt"
1053 class="tw:text-prim tw:mb-5">${summary["ArticlesDePeriodiqueImprime"]?hasContent?then(summary["ArticlesDePeriodiqueImprime"], "Articles de périodique")}</h2>
1054 <div class="wysiwyg js-list-expand">
1055 <ul aria-labelledby="article-perio-tlt">
1056 <#assign articlePerioFull = articlePerioFull?sortBy("order")>
1057 <#list articlePerioFull as article>
1058 <li <#if (article?index > 4)>class="tw:hidden"</#if>>
1059 <a href="/l/${article.id}${searchUrl}"
1060 class="tw:font-bold! tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">${article.title} <#if article.year?hasContent> - ${article.year?string("YYYY")}</#if></a>
1061 </li>
1062 </#list>
1063 </ul>
1064 <#if (articlePerioFull?size > 5)>
1065 <button type="button"
1066 class="js-expand tw:items-center tw:leading-[1.75rem] tw:group tw:flex tw:gap-[0.3125rem] tw:font-semibold tw:transition-all tw:bg-linear-[currentcolor,currentcolor] tw:bg-no-repeat tw:bg-bottom-left tw:bg-size-[100%_0.125rem] tw:hover:bg-size-[0_0.125rem]">
1067 <span>Voir plus</span>
1068 <span class="icon-chevron-down tw:inline-block tw:text-prim tw:text-base tw:transition-all tw:text-[0.875rem] tw:rotate-0
1069 tw:group-hover:rotate-180 tw:group-data-[expanded=true]:rotate-180" aria-hidden="true"></span>
1070 </button>
1071 </#if>
1072 </div>
1073 </div>
1074 </#if>
1075
1076 </div>
1077 <#if showMedia>
1078 <#assign medias = []>
1079 <#if reproductionsVideos?hasContent>
1080 <#assign medias = medias + [{
1081 "type": "video",
1082 "title": "Vidéos",
1083 "reproductions": reproductionsVideos
1084 }]>
1085 </#if>
1086 <#if reproductionsImages?hasContent>
1087 <#assign medias = medias + [{
1088 "type": "image",
1089 "title": "Images",
1090 "reproductions": reproductionsImages
1091 }]>
1092 </#if>
1093 <#-- <#if bureautiques?hasContent>
1094 <#assign medias = medias + [{
1095 "type": "fichier",
1096 "title": "Texte",
1097 "reproductions": bureautiques
1098 }]>
1099 </#if> -->
1100
1101 <div id="ressources" class="js-summary-content" tabindex="-1"></div>
1102 <div class="page-wrapper tw:py-10">
1103 <h2 id="ressources-tl"
1104 class="tw:text-prim tw:mb-5">${summary["RessourcesMediaImprime"]?hasContent?then(summary["RessourcesMediaImprime"], "Ressources média")}</h2>
1105 <@garance.displayMedia data=medias />
1106 </div>
1107 </#if>
1108 <#if showCollection>
1109 <div id="collections" class="js-summary-content" tabindex="-1"></div>
1110 <div class="page-wrapper tw:py-10">
1111 <h2 id="collections-tl"
1112 class="tw:text-prim tw:mb-5">${summary["CollectionsLieesImprime"]?hasContent?then(summary["CollectionsLieesImprime"], "Collections liées")}</h2>
1113 <@garance.displayCollection relatedObjectsFull />
1114 </div>
1115 <script type="module" async>
1116 import('photoswipe')
1117 import('photoswipe-lightbox')
1118 </script>
1119 </#if>
1120 </div>
1121</div>