Skip to content

Commit

Permalink
Updated the navs to use SystemInfo as the default landing page when y…
Browse files Browse the repository at this point in the history
…ou click ona systenm
  • Loading branch information
parthaa committed Jan 5, 2012
1 parent 17bfbfc commit bd6a851
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/navigation/systems.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,18 +85,18 @@ def systems_navigation

def systems_subnav
[
{ :key => :events,
:name =>_("Events"),
:url => lambda{system_events_path(@system.id)},
:if => lambda{@system},
:options => {:class=>"third_level navigation_element"},
},
{ :key => :system_info,
:name =>N_("System Info"),
:url => lambda{edit_system_path(@system.id)},
:if => lambda{@system},
:options => {:class=>"third_level navigation_element"},
},
{ :key => :events,
:name =>_("Events"),
:url => lambda{system_events_path(@system.id)},
:if => lambda{@system},
:options => {:class=>"third_level navigation_element"},
},
{ :key => :facts,
:name =>N_("Facts"),
:url => lambda{facts_system_path(@system.id)},
Expand Down

0 comments on commit bd6a851

Please sign in to comment.