diff options
author | elijah <elijah@riseup.net> | 2013-06-28 20:38:14 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-07-04 04:04:55 -0700 |
commit | 4863ce5e78d880f1ca8a1874cd03022afb061f4a (patch) | |
tree | a0a5c72333f90f7656633aad39110346f9404e9a /app/views/layouts | |
parent | 7d2163263c8e5af7f4d7a2d40cd55eefac188e58 (diff) |
new layout for the home buttons
Diffstat (limited to 'app/views/layouts')
-rw-r--r-- | app/views/layouts/_masthead_noauth.html.haml (renamed from app/views/layouts/_masthead_large.html.haml) | 0 | ||||
-rw-r--r-- | app/views/layouts/_messages.html.haml | 2 | ||||
-rw-r--r-- | app/views/layouts/application.html.haml | 4 |
3 files changed, 3 insertions, 3 deletions
diff --git a/app/views/layouts/_masthead_large.html.haml b/app/views/layouts/_masthead_noauth.html.haml index 6bb1943..6bb1943 100644 --- a/app/views/layouts/_masthead_large.html.haml +++ b/app/views/layouts/_masthead_noauth.html.haml diff --git a/app/views/layouts/_messages.html.haml b/app/views/layouts/_messages.html.haml index 80e34d4..a3bbbac 100644 --- a/app/views/layouts/_messages.html.haml +++ b/app/views/layouts/_messages.html.haml @@ -2,4 +2,4 @@ - if msg.is_a?(String) %div{:class => "alert alert-#{name == :notice ? "success" : "error"}"} %a.close{"data-dismiss" => "alert"} × - = content_tag :div, msg, :id => "flash_#{name}" + = content_tag :div, format_flash(msg), :id => "flash_#{name}" diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 71364fc..e185f26 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -12,8 +12,8 @@ #masthead - if logged_in? = render 'layouts/masthead' - - else - = render 'layouts/masthead_large' + - elsif params[:controller] != 'home' + = render 'layouts/masthead_noauth' #main .container-fluid - if logged_in? |