Skip to content

Commit

Permalink
feature: make view of clickable in summary page header (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilelkihal committed Jun 14, 2024
1 parent 93cedc7 commit 2bb0360
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/layouts/ontology_viewer/_header.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
-# A header of sorts to display ontology name and subset of details.
.ontology-details-header-container
.ontology-details-path
%a{href: "/ontologies"} ontologies
%a{href: "/ontologies"} Ontologies
- if @ontology.viewOf
= inline_svg_tag 'arrow-right-outlined.svg'
%div
= @ontology.viewOf.split('/').last
- viewOfAcronym = @ontology.viewOf.split('/').last
%a{href: "/ontologies/#{viewOfAcronym}"}
= viewOfAcronym
= inline_svg_tag 'arrow-right-outlined.svg'
%div
= @ontology.acronym
Expand Down

0 comments on commit 2bb0360

Please sign in to comment.