On 10/14/10 - 03:05:52PM, [email protected] wrote: > From: Jan Provaznik <[email protected]> > > --- > src/config/navigation.rb | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/src/config/navigation.rb b/src/config/navigation.rb > index fdf521a..1f410f0 100644 > --- a/src/config/navigation.rb > +++ b/src/config/navigation.rb > @@ -30,7 +30,9 @@ SimpleNavigation::Configuration.run do |navigation| > second_level.item :assistance_requests, t(:assistance_requests), '#', > :class => 'disabled' > end > first_level.item :define, t(:define), '#', :class => 'build' do > |second_level| > - second_level.item :deployables, t(:deployables), {:controller => > 'templates'}, :highlights_on => /\/templates/ > + # TODO: currently we exclude /templates/builds (next tab), but > + # we could have special controller for builds in future > + second_level.item :deployables, t(:deployables), {:controller => > 'templates'}, :highlights_on => /(\/templates$|\/templates\/(?!builds))/ > second_level.item :builds, t(:builds), :controller => 'templates', > :action => 'builds' > second_level.item :images, t(:images), '#', :class => 'disabled' > end
Seems reasonable enough, and works. ACK, and pushed. -- Chris Lalancette _______________________________________________ deltacloud-devel mailing list [email protected] https://fedorahosted.org/mailman/listinfo/deltacloud-devel
