Skip to content

Commit

Permalink
Show entity types in menu dropdown correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
gythaogg committed Jan 22, 2024
1 parent 247c788 commit 62cfc9f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions apis_ontology/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,9 @@
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
{% for ent in entities_links %}
<a class="dropdown-item"
href="{% url 'apis:apis_entities:generic_entities_list' ent.0 %}">{{ ent.1
}}</a>
href="{% url 'apis:apis_entities:generic_entities_list' ent.0 %}">
{{ ent.1}}
</a>
{% endfor %}
<a class="dropdown-item" href="{% url 'apis:apis_metainfo:uri_browse' %}">URIs</a>
</div>
Expand All @@ -89,8 +90,8 @@
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
{% for ent in relations_list %}
<a class="dropdown-item"
href="{% url 'apis:apis_relations:generic_relations_list' ent %}">{{ ent|title
}}</a>
href="{% url 'apis:apis_relations:generic_relations_list' ent %}">
{{ ent|title}}</a>
{% endfor %}
</div>
</li>
Expand Down

0 comments on commit 62cfc9f

Please sign in to comment.