add number of completed challenges to navbar

This commit is contained in:
Michael Q Larson
2014-11-07 09:04:01 -08:00
parent 7edd9ef2ee
commit 41a2d6adf9

View File

@ -20,7 +20,7 @@
img(src='#{user.profile.picture}')
else
img(src='#{user.gravatar(60)}')
| #{user.profile.name || user.email || user.id} 
| #{user.profile.name || user.email || user.id} [ #{user.challengesCompleted.length} ] 
i.caret
ul.dropdown-menu
li