Minor improvement

This commit is contained in:
Christoph Haas 2017-02-06 09:49:43 +01:00
parent 11f117f1e2
commit 5c879d579c

View file

@ -25,9 +25,10 @@ nav.top-bar
//a href="#" Ubuntu //a href="#" Ubuntu
li class=('active' if controller_name=='welcome' and action_name=='about') li class=('active' if controller_name=='welcome' and action_name=='about')
a href="/about" About a href="/about" About
// Add link if user has uploaded screenshots
- if @current_users_screenshots.any? - if @current_users_screenshots.any?
li class=('active' if controller_name=='packages' and action_name=='my_uploads') li class=('active' if controller_name=='packages' and action_name=='my_uploads')
a href="/my_uploads" = link_to my_uploads_path
' My uploads ' My uploads
span.badge.secondary span.badge.secondary
= @current_users_screenshots.count = @current_users_screenshots.count