From 2bb0360065855b6d93abd55ab8ee10b482ed0803 Mon Sep 17 00:00:00 2001 From: Bilel Kihal <61744974+Bilelkihal@users.noreply.github.com> Date: Thu, 30 May 2024 16:40:13 +0200 Subject: [PATCH] feature: make view of clickable in summary page header (#643) --- app/views/layouts/ontology_viewer/_header.html.haml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/views/layouts/ontology_viewer/_header.html.haml b/app/views/layouts/ontology_viewer/_header.html.haml index 877e8c4083..291df004d7 100644 --- a/app/views/layouts/ontology_viewer/_header.html.haml +++ b/app/views/layouts/ontology_viewer/_header.html.haml @@ -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