Reverting to large icon style for all comments

This commit is contained in:
Victoria Wang 2014-10-23 19:44:12 -07:00
parent 7d43fe2ab8
commit 9ca5caab9d
2 changed files with 2 additions and 2 deletions

View file

@ -12,6 +12,7 @@
<% events.each do |event| %>
<% if event.profile_comment_id %>
<div class="news-item comment for-me" id="event_<%= event.id %>">
<%== erb :'_news_profile_comment', layout: false, locals: {profile_comment: event.profile_comment, event: event} %>
<% elsif event.follow_id %>
<div class="news-item follow">

View file

@ -1,9 +1,8 @@
<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id).first %>
<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id).first %>
<div class="news-item comment <% if (current_site && current_site.id == profile_comment.site_id) || (request.path != '/') %>for-me<% end %>" id="event_<%= event.id %>">
<div class="title">
<div class="icon" style="<% if current_site && current_site.id == profile_comment.site_id %>background-image:url(<%= actioning_site.screenshot_url('index.html', '100x100') %>);<% end %>"></div>
<div class="icon" style="background-image:url(<%= actioning_site.screenshot_url('index.html', '100x100') %>);"></div>
<% if current_site && current_site.id == actioning_site.id %>
You