Display user email if Full Name is not present
This commit is contained in:
@@ -26,7 +26,7 @@
|
|||||||
a.dropdown-toggle(href='#', data-toggle='dropdown')
|
a.dropdown-toggle(href='#', data-toggle='dropdown')
|
||||||
if user.profile.picture
|
if user.profile.picture
|
||||||
img.profile-image(src='#{user.profile.picture}')
|
img.profile-image(src='#{user.profile.picture}')
|
||||||
| #{user.profile.name || user.id}
|
| #{user.profile.name || user.email || user.id}
|
||||||
i.caret
|
i.caret
|
||||||
ul.dropdown-menu
|
ul.dropdown-menu
|
||||||
li: a(href='/account') My Account
|
li: a(href='/account') My Account
|
||||||
|
Reference in New Issue
Block a user