Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3489_icon change for viewing an incorrect Ontology Term #861

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading