Skip to content

Commit

Permalink
Merge pull request #103 from acdh-oeaw/detail-page-ui
Browse files Browse the repository at this point in the history
Detail page UI
  • Loading branch information
gythaogg authored Jul 15, 2024
2 parents 2a063d0 + 3dcae6c commit 23a39fa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 2 additions & 0 deletions apis_ontology/templates/generic/partials/instance_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<td>{{object.availability}}</td>
</tr>
{% endif %}
{% if object.set_num or object.zotero_ref%}
<tr>
<th>Citation</th>
<td>
Expand All @@ -42,6 +43,7 @@
{{ object.zotero_ref | render_zotero_links | safe}}
</td>
</tr>
{% endif %}
{% if object.external_links %}
<tr>
<th>External links</th>
Expand Down
8 changes: 3 additions & 5 deletions apis_ontology/templates/generic/partials/work_table.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
<tr>
<th>Subject</th>
<td>
<ul>
{% for sub in object.subject_vocab.all %}
<li>{{ sub.name }}</li>
{% endfor %}
</ul>
{% for sub in object.subject_vocab.all %}
{{ sub.name }}<br/>
{% endfor %}
</td>
</tr>
{% endif %}
Expand Down

0 comments on commit 23a39fa

Please sign in to comment.