Skip to content

Commit

Permalink
Customize display of nav items for appliance (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jvendetti committed Aug 11, 2017
1 parent 169996b commit 265d310
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions app/views/layouts/_topnav.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@
= link_to("Mappings", mappings_path())
%li
= link_to("Recommender", recommender_index_path())
%li
= link_to("Resource Index", resource_index_index_path())
- unless Rails.env.appliance?
%li
= link_to("Resource Index", resource_index_index_path())

-# Support menu
%li.dropdown
Expand All @@ -70,7 +71,7 @@
%li
= link_to("Help", "https://www.bioontology.org/wiki/index.php/BioPortal_Help", target: "_blank")
%li
= link_to("Release Notes", "https://www.bioontology.org/wiki/index.php/BioPortal_Release_Notes", target: "_blank")
= link_to("Release Notes", "#{$RELEASE_NOTES}", target: "_blank")
%li
= link_to("How to Cite", "https://www.bioontology.org/wiki/index.php/BioPortal_Help#How_to_cite_NCBO_and_BioPortal", target: "_blank")

0 comments on commit 265d310

Please sign in to comment.