From 1affaa4859d65b370eac06cc40d8d52b6f0ce41d Mon Sep 17 00:00:00 2001 From: Sahat Yalkabov Date: Fri, 6 Dec 2013 00:58:41 -0500 Subject: [PATCH] Added active class to profile name in navbar if current page is account management --- views/account.jade | 2 +- views/layout.jade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/views/account.jade b/views/account.jade index 81874f392d..91f4f0fc7c 100644 --- a/views/account.jade +++ b/views/account.jade @@ -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 diff --git a/views/layout.jade b/views/layout.jade index 908b383e2e..47bf9d2dd0 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -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}