mirror of
https://github.com/Babibubebon/lodfe.git
synced 2024-09-23 01:34:21 +09:00
Fix rdf:type values are not displayed when the URIs don't have QName
This commit is contained in:
parent
a224d33996
commit
bcf2dc1160
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@
|
||||||
An Entity of Type:
|
An Entity of Type:
|
||||||
<ul class="list-inline" style="display: inline">
|
<ul class="list-inline" style="display: inline">
|
||||||
@foreach($graph->typesAsResources($primaryTopic) as $type)
|
@foreach($graph->typesAsResources($primaryTopic) as $type)
|
||||||
<li class="list-inline-item"><a href="{{ $type->getUri() }}">{{ $type->shorten() }}</a></li>
|
<li class="list-inline-item"><a href="{{ $type->getUri() }}">
|
||||||
|
{{ $type->shorten() ?? $type->getUri() }}</a>
|
||||||
|
</li>
|
||||||
@endforeach
|
@endforeach
|
||||||
</li>
|
</li>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue