views: inline partials into default layout.
Inline the page footer, news updates, the ban notice, and the user verification notice into the default layout. This is a micro optimization to reduce the number of spans reported to the APM.
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
<% if NewsUpdate.recent.present? %>
|
||||
<div id="news-updates" data-id="<%= NewsUpdate.recent.first.try(:id) %>" style="display: none;">
|
||||
<ul>
|
||||
<% NewsUpdate.recent.each do |news_update| %>
|
||||
<li><%= news_update.message.html_safe %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<a href="#" id="close-news-ticker-link"><%= close_icon %></a>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user