<#assign index = 0> <#list this.medias as media> <#if media.filename?length gt 18> <#assign name = media.filename?substring(0,15)> <#assign name = name?right_pad(18, ".")> <#else> <#assign name = media.filename> <#assign index = index + 1 > <#assign mediaStatusClass = ""> <#if this.selectMedia && !this.develop> <#assign mediaStatusClass = "mediaStatus${media.metaData.activationStatus}">
- <#if this.selectMedia> <#if media.metaData.activationStatus = 2 || this.develop > seleziona <#else> <#if this.canPublish && media.metaData.activationStatus < 2> <#else> not published <#else> <#if this.writable> <#else> <#if this.canPublish> <#else> <#if this.canPublish && media.metaData.activationStatus = 2> <#else>
  <#if media.usedInWebPages?size = 0> Non utilizzato <#else> <#assign pages = ""> <#list media.usedInWebPages as page> <#assign pages = pages + "<a href='${this.request.contextPath}" + page +".html' target='_blank'>"+ page +"</a><br/>"> Pagine (${media.usedInWebPages?size})
  ${name}