Display user email if Full Name is not present

pull/2/head
Sahat Yalkabov 2014-01-28 23:43:01 -05:00
parent 66cd805dec
commit 066bdd4f12
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@
a.dropdown-toggle(href='#', data-toggle='dropdown')
if user.profile.picture
img.profile-image(src='#{user.profile.picture}')
| #{user.profile.name || user.id} 
| #{user.profile.name || user.email || user.id} 
i.caret
ul.dropdown-menu
li: a(href='/account') My Account