As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<#assign datetimeformat="EEEE dd/MM/yyyy"> <html> <head> <STYLE TYPE="text/css"> a.rouge { color: red; } table.ged { font-family:verdana; font-size:12px; } td.ged { font-family:verdana; font-size:12px; padding-left:10px; padding-top:3px; padding-bottom:3px; } </STYLE> </head> <body BGCOLOR="E8EFF9"> <h3>Recherche du dossier ${args.nom}</h3> <table class="ged" border=1 cellpadding=0 cellspacing=1 width=100%> <#list resultset?sort_by(["properties","{http://www.bonifay.com/model/content/1.0}type"]) as model> <tr> <td bgcolor="#DFE6EE"><i><b>${model.properties["{http://www.bonifay.com/model/content/1.0}type']} </b></i><a href="http://192.168.10.47:8080/alfresco/service/bonifay/delete?nom=${model.name}?guest=true" class="rouge">Supprimer</a></td> </tr> <tr> <th></th><th bgcolor="#DFE6EE">Version</th><th bgcolor="#DFE6EE">Date de modification</th><th bgcolor="#DFE6EE">Commentaire</th><th bgcolor="#DFE6EE">Date d'effet</th><th bgcolor="#DFE6EE">Date d'échéance</th> </tr> <#assign first="true"> <#list model.versionHistory?sort_by("versionLabel")?reverse as record> <#if first="true"> <#assign first="false"> <tr> <td class="ged" ></td> <td class="ged" ><a href="${url.serviceContext}/api/node/content/${model.nodeRef.storeRef.protocol}/${model.nodeRef.storeRef.identifier}/${model.nodeRef.id}/${model.name?url}?guest=true">${record.versionLabel}</a></td> <td class="ged" >${record.createdDate?string(datetimeformat)}</td> <td class="ged" ><#if record.description?exists>${record.description}<#else>Version initiale</#if></td> <td class="ged" >${model.properties["{http://www.bonifay.com/model/content/1.0}emis']?string(datetimeformat)}</td> <td class="ged" >${model.properties["{http://www.bonifay.com/model/content/1.0}validite']?string(datetimeformat)}</td> </tr> <#else> <tr> <td class="ged" ></td> <td class="ged" ><a href="/alfresco${record.url}?guest=true">${record.versionLabel}</a></td> <td class="ged" >${record.createdDate?string(datetimeformat)}</td> <td class="ged" ><#if record.description?exists>${record.description}<#else>Version initiale</#if> <td class="ged" >${record.properties["{http://www.bonifay.com/model/content/1.0}emis']?string(datetimeformat)}</td> <td class="ged" >${record.properties["{http://www.bonifay.com/model/content/1.0}validite']?string(datetimeformat)}</td> </tr> </#if> <#if record_has_next> </#if> </#list> </#list> </table> </body> </html>