diff options
author | MrYummy <elemental428@gmail.com> | 2017-05-28 17:46:39 -0400 |
---|---|---|
committer | MrYummy <elemental428@gmail.com> | 2017-06-18 13:11:36 -0400 |
commit | a24d26dd7c9c829b28732174ed5f5ff2d4448bfb (patch) | |
tree | 09b6a7e0b5ca523e092d17393ca68cfa66e2db57 /app/views/layouts/_head.html.erb | |
parent | db3aea185b5d21a14e61ca3c1939083103cc4fb6 (diff) |
Added Website Settings
Diffstat (limited to 'app/views/layouts/_head.html.erb')
-rw-r--r-- | app/views/layouts/_head.html.erb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 183a615..e6b5080 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -1,4 +1,9 @@ -<div id="head"> +<% head = "head_top" %> +<% if current_user != nil && current_user.header_scroll == true %> + <% head = "head_scroll" %> +<% end %> + +<div id="<%= head %>"> <div id="menu"> <%= link_to "", root_path, id: "logo" %> <ul> @@ -41,4 +46,4 @@ <% end %> </div> </div> -</div>
\ No newline at end of file +</div> |