Skip to content

Commit

Permalink
void templates
Browse files Browse the repository at this point in the history
  • Loading branch information
situx committed Jan 21, 2024
1 parent 0e67367 commit 38d4268
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sparqlunicorn_ontdoc/export/data/voidexporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def createVoidDataset(dsname,prefixnamespace,deploypath,outpath,licenseuri,modti
@staticmethod
def toHTML(stats,deploypath):
result="<details><summary>Dataset Statistics <a href=\""+str(deploypath)+"/void.ttl"+"\" target=\"_blank\">[VOID]</a></summary>"
result+="<table><thead><th>Property</th><th>Value</th></thead><tbody>"
result+="<table border=\"1\"><thead><th>Property</th><th>Value</th></thead><tbody>"
for stat in stats:
result+="<tr><td><a href=\""+str(stat)+"\" target=\"_blank\">"+str(DocUtils.shortenURI(stat))+"</a></td><td>"+str(stats[stat])+"<a href=\"http://www.w3.org/2001/XMLSchema#integer\" style=\"color:#666;\">(xsd:integer)</a></td></tr>"
result+="</tbody></table></details>"
Expand Down

0 comments on commit 38d4268

Please sign in to comment.