Skip to content

Commit

Permalink
add in summary page search icon that redirect to api search endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Dec 7, 2023
1 parent 99bcb88 commit fa90818
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions app/assets/images/icons/searching_database.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion app/controllers/ontologies_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,9 @@ def summary
%w[summary/documentation documentation],
%w[icons/github repository],
%w[summary/sparql endpoint],
%w[icons/publication publication]]
%w[icons/publication publication],
%w[icons/searching_database openSearchDescription]
]
@ontology_icon_links.each do |icon|
icon << helpers.attr_label(icon[1], attr_metadata: helpers.attr_metadata(icon[1]), show_tooltip: false)
end
Expand Down

0 comments on commit fa90818

Please sign in to comment.