Display user email if Full Name is not present
parent
66cd805dec
commit
066bdd4f12
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue