news updates: remove the timestamp; change close icon.

Remove the timestamp because it takes up too much space and isn't always needed.
This commit is contained in:
evazion
2021-10-27 04:25:22 -05:00
parent 3b44e08783
commit acbbb7a520

View File

@@ -2,10 +2,10 @@
<div id="news-updates" data-id="<%= NewsUpdate.recent.first.try(:id) %>" style="display: none;">
<ul>
<% NewsUpdate.recent.each do |news_update| %>
<li><%= time_ago_in_words_tagged(news_update.created_at, compact: true) %> ago: <%= news_update.message.html_safe %></li>
<li><%= news_update.message.html_safe %></li>
<% end %>
</ul>
<a href="#" id="close-news-ticker-link">close</a>
<a href="#" id="close-news-ticker-link"><%= close_icon %></a>
</div>
<% end %>