hid elements from homepage

This commit is contained in:
Connor Turland 2014-11-27 21:45:04 -05:00
parent da6a7aadfb
commit 870b4e2829
3 changed files with 11 additions and 3 deletions

View file

@ -829,6 +829,10 @@
left: 29px;
}
.homePage .infoAndHelp {
display:none;
}
.infoAndHelp {
position: fixed;
bottom: 20px;

View file

@ -1,6 +1,10 @@
/* =USERVOICE ICON DEFINE
--------------------------------------------------------*/
.unauthenticated .uv-icon {
display: none;
}
div.uv-icon.uv-bottom-left {
background-image:url(feedback_sprite.png);
color:#FFFFFF;

View file

@ -66,7 +66,7 @@
<![endif]-->
</head>
<body data-env="<%= Rails.env %>">
<body data-env="<%= Rails.env %>" class="<%= authenticated? ? "authenticated" : "unauthenticated" %>">
<% if devise_error_messages? %>
<p id="toast"><%= devise_error_messages! %></p>
@ -74,7 +74,7 @@
<p id="toast"><%= notice %></p>
<% end %>
<%= content_tag :div, class: authenticated? ? "main authenticated" : "main unauthenticated" do %>
<%= content_tag :div, class: "main" do %>
<% classes = action_name == "home" ? "homePage" : ""
classes += action_name == "home" && authenticated? ? " explorePage" : ""