Kill trailing whitespace in erb files
This commit is contained in:
@@ -25,29 +25,29 @@
|
||||
<body>
|
||||
<header id="top">
|
||||
<%= render "news_updates/listing" %>
|
||||
|
||||
|
||||
<h1><%= link_to Danbooru.config.app_name, "/" %></h1>
|
||||
<nav>
|
||||
<%= render "layouts/main_links" %>
|
||||
<%= yield :secondary_links %>
|
||||
</nav>
|
||||
|
||||
|
||||
<%= render "layouts/more_links" %>
|
||||
</header>
|
||||
|
||||
|
||||
<div id="page">
|
||||
<% if CurrentUser.is_anonymous? && session[:started_at] && session[:started_at] < 1.minute.ago && cookies[:hide_sign_up_notice].blank? %>
|
||||
<%= render "users/sign_up_notice" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<% if !CurrentUser.is_anonymous? && !CurrentUser.is_privileged? && cookies[:hide_upgrade_account_notice].blank? && params[:action] != "upgrade_information" %>
|
||||
<%= render "users/upgrade_notice" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<% if !CurrentUser.is_privileged? && CurrentUser.user.created_at > 2.weeks.ago %>
|
||||
<%= render "users/tos" %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<%- if flash[:notice] -%>
|
||||
<div class="ui-corner-all ui-state-highlight" id="notice"><%= flash[:notice] %></div>
|
||||
<%- else -%>
|
||||
@@ -56,11 +56,11 @@
|
||||
|
||||
<%= yield :layout %>
|
||||
</div>
|
||||
|
||||
|
||||
<footer>
|
||||
<%= yield :page_footer_content %>
|
||||
<%= yield :page_footer_content %>
|
||||
</footer>
|
||||
|
||||
|
||||
<%= render "static/footer" %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user