Show aliases in item detail

This commit is contained in:
Edward Betts 2021-10-06 19:06:42 +02:00
parent f6418da9a9
commit 8d5476bd43

View file

@ -422,6 +422,11 @@
<br><strong>description</strong><br>{{ wd_item.description }} <br><strong>description</strong><br>{{ wd_item.description }}
</span> </span>
<span v-if="wd_item.aliases !== undefined && wd_item.aliases.length">
<br><strong>aliases</strong>
<br>{{ wd_item.aliases.join("; ") }}
</span>
<br><strong>item type</strong> <br><strong>item type</strong>
<span v-bind:key="`isa-${wd_item.qid}-${isa_qid}`" v-for="isa_qid in wd_item.isa_list"> <span v-bind:key="`isa-${wd_item.qid}-${isa_qid}`" v-for="isa_qid in wd_item.isa_list">
<br><a :href="qid_url(isa_qid)" target="_blank">{{isa_labels[isa_qid]}}</a> ({{isa_qid}}) <br><a :href="qid_url(isa_qid)" target="_blank">{{isa_labels[isa_qid]}}</a> ({{isa_qid}})