Added active class to profile name in navbar if current page is account management
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h2 Account Settings
|
||||
h2 Account Management
|
||||
ul.nav.nav-tabs
|
||||
li.active
|
||||
a(href='#basic', data-toggle='tab') Basic Info
|
||||
|
@ -40,7 +40,7 @@ html
|
||||
li(class=title=='Create Account'?'active':undefined)
|
||||
a(href='/signup') Create Account
|
||||
else
|
||||
li.user
|
||||
li.user(class=title=='Account Management'?'active':undefined)
|
||||
a(href='/account')
|
||||
img(src='#{user.profile.picture}')
|
||||
| #{user.profile.name}
|
||||
|
Reference in New Issue
Block a user