Fixed templates

This commit is contained in:
Luca Frosini 2023-04-13 18:48:14 +02:00
parent 5d2b55b4e6
commit da1e014b35
3 changed files with 6 additions and 6 deletions

View File

@ -98,7 +98,7 @@
"name": "${name}", "name": "${name}",
<#if description?has_content>"description": "${description?json_string}",</#if> <#if description?has_content>"description": "${description?json_string}",</#if>
"url": "${url}" "url": "${url}"
} }${sep}
</#if> </#if>
</#macro> </#macro>

View File

@ -98,7 +98,7 @@
"name": "${name}", "name": "${name}",
<#if description?has_content>"description": "${description?json_string}",</#if> <#if description?has_content>"description": "${description?json_string}",</#if>
"url": "${url}" "url": "${url}"
} }${sep}
</#if> </#if>
</#macro> </#macro>

View File

@ -98,7 +98,7 @@
"name": "${name}", "name": "${name}",
<#if description?has_content>"description": "${description?json_string}",</#if> <#if description?has_content>"description": "${description?json_string}",</#if>
"url": "${url}" "url": "${url}"
} }${sep}
</#if> </#if>
</#macro> </#macro>
@ -148,9 +148,9 @@
<@tag tagname=grsf_type?capitalize sep=""/> <@tag tagname=grsf_type?capitalize sep=""/>
], ],
"resources": [ "resources": [
<@resource name="GRSF Stock" url=referring_stock_record.url description=referring_stock_record.semantic_id />, <@resource name="GRSF Stock" url=referring_stock_record.url description=referring_stock_record.semantic_id />
<@resource name="GRSF Fishery" url=referring_fishery_record.url description=referring_fishery_record.semantic_id />, <@resource name="GRSF Fishery" url=referring_fishery_record.url description=referring_fishery_record.semantic_id />
<@resource name="Traceability Unit URI" url=traceability_record_uri /> <@resource name="Traceability Unit URI" url=traceability_record_uri sep=""/>
], ],
"timeseries": [ "timeseries": [
<#list timeseriesList as elem> <#list timeseriesList as elem>