summaryrefslogtreecommitdiff
path: root/app/views/layouts/_header.html.haml
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-13 14:45:49 +0200
committerAzul <azul@leap.se>2014-05-13 14:45:49 +0200
commit503fa755ee7f5ec52e833a05fb640b1c16e89a5f (patch)
treebf8159cf93a61e02a648c5c5dba6ef0193f04e51 /app/views/layouts/_header.html.haml
parent726244f1c6bb72fb53a257c084dfbdf7b9c2b03c (diff)
move User Control Panel heading out of masthead
the masthead can only handle content of a limited width. Alternatively we could make the masthead title wider and add padding on the left so it still aligns nicely with the mask. However the wider we make it the worse it looks on small width displays. Another option would be to make the masthead contain multiple lines. However vertical aligment to the middle of 1 OR 2 lines of text is a real pain. So I went with a super simple masthead and the Caption goes below.
Diffstat (limited to 'app/views/layouts/_header.html.haml')
-rw-r--r--app/views/layouts/_header.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/_header.html.haml b/app/views/layouts/_header.html.haml
index 157f1df..a1dd47a 100644
--- a/app/views/layouts/_header.html.haml
+++ b/app/views/layouts/_header.html.haml
@@ -8,5 +8,5 @@
%li
= link_to t(:logout), logout_path, :method => :delete
- if @user && @show_navigation
- .user_heading
+ .lead
= @user.email_address