Add domain and range attributes to the html for parsing / testing.

This commit is contained in:
Graham Triggs 2017-09-28 19:56:23 +01:00
parent 4df1a9c945
commit 5c543982f7

View file

@ -194,12 +194,12 @@ name will be used as the label. -->
<#local url = url + "&titleUri=" + "${statement.title!}">
</#if>
</#if>
<@showEditLink propertyLocalName url />
<@showEditLink propertyLocalName rangeUri url />
</#if>
</#macro>
<#macro showEditLink propertyLocalName url>
<a class="edit-${propertyLocalName}" href="${url}" title="${i18n().edit_entry}"><img class="edit-individual" src="${urls.images}/individual/editIcon.gif" alt="${i18n().edit_entry}" /></a>
<#macro showEditLink propertyLocalName rangeUri url>
<a class="edit-${propertyLocalName}" href="${url}" title="${i18n().edit_entry}"><img class="edit-individual" data-range="${rangeUri}" src="${urls.images}/individual/editIcon.gif" alt="${i18n().edit_entry}" /></a>
</#macro>
<#macro deleteLink propertyLocalName propertyName statement rangeUri="">
@ -219,12 +219,12 @@ name will be used as the label. -->
<#local url = url + "&deleteObjectUri=" + "${statement.title!}">
</#if>
</#if>
<@showDeleteLink propertyLocalName url />
<@showDeleteLink propertyLocalName rangeUri url />
</#if>
</#macro>
<#macro showDeleteLink propertyLocalName url>
<a class="delete-${propertyLocalName}" href="${url}" title="${i18n().delete_entry}"><img class="delete-individual" src="${urls.images}/individual/deleteIcon.gif" alt="${i18n().delete_entry}" /></a>
<#macro showDeleteLink propertyLocalName rangeUri url>
<a class="delete-${propertyLocalName}" href="${url}" title="${i18n().delete_entry}"><img class="delete-individual" data-range="${rangeUri}" src="${urls.images}/individual/deleteIcon.gif" alt="${i18n().delete_entry}" /></a>
</#macro>
<#macro verboseDisplay property>