diff options
Diffstat (limited to 'views/layout.haml')
-rw-r--r-- | views/layout.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/views/layout.haml b/views/layout.haml index d20b964..c76396d 100644 --- a/views/layout.haml +++ b/views/layout.haml @@ -31,8 +31,9 @@ .content .login_info - User: - %b= session[:username] + - if session[:username].size > 0 + User: + %b= session[:username] - if `hostname`.match(/ot-test/) .notice |