if user is github cool navbar links to account show page
This commit is contained in:
@@ -19,6 +19,13 @@ nav.navbar.navbar-default.navbar-fixed-top.nav-height
|
||||
li      
|
||||
li
|
||||
a.btn.signup-btn.signup-btn-nav(href='/login') Sign in
|
||||
else
|
||||
if user.isGithubCool
|
||||
li
|
||||
a(href='/' + user.username) [ #{user.progressTimestamps.length} ]
|
||||
.hidden-xs.hidden-sm
|
||||
a(href='/' + user.username)
|
||||
img.profile-picture.float-right(src='#{user.picture}')
|
||||
else
|
||||
li
|
||||
a(href='/account') [ #{user.progressTimestamps.length} ]
|
||||
|
Reference in New Issue
Block a user