Skip to content

Commit

Permalink
#3489_icon change for viewing an incorrect Ontology Term (#861)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath-kandula authored Aug 11, 2023
1 parent 7ae3de7 commit 5de4bc2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ontology/templates/ontology/ontology_term.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
</script>

<div class="current-record-menu-item">
{% if not term.is_stub %}
{% if is_ontology %}
<div class="text-small text-muted">viewing</div>
<div><i class="fa-solid fa-circle main-icon mr-1" style="color:#bbb; font-size:8pt"></i><span class="text-monospace">{{ term.id }}</span></div>
Expand All @@ -30,6 +31,10 @@
<div class="text-small text-muted">viewing</div>
<i class="fas fa-dna main-icon"></i><label>{{ term.name }}</label>
{% endif %}
{% else %}
<div class="text-small text-muted">viewing</div>
<i class="fa-solid fa-circle main-icon mr-1" style="color:#bbb; font-size:8pt"></i><label>{{ term.id }}</label>
{% endif %}
</div>

<div class="container" style="position:relative">
Expand Down

0 comments on commit 5de4bc2

Please sign in to comment.