<% actioning_site = event.actioning_site_dataset.select(:id, :username, :title, :domain, :stripe_customer_id).first %>
<% event_site = event.site_dataset.select(:id, :username, :title, :domain, :stripe_customer_id).first %>
<% if current_site && current_site.id == actioning_site.id %>
You
<% else %>
<% if actioning_site.supporter? && !actioning_site.ended_supporter? %><% end %><%= actioning_site.username %>
<% end %>
started following
<% if current_site && event_site.id == current_site.id %>
your site!
<% else %>
<% if event_site.supporter? && !event_site.ended_supporter? %><% end %><%= event_site.username %>
<% end %>
<%= event.created_at.ago %>
<% elsif event.site_change_id %>
<% event_site = event.site_dataset.select(:id, :username, :title, :domain).first %>
<% if current_site && event_site.id == current_site.id %>
Your site was updated.
<% else %>
<%= event_site.title.shorten(45) %> has been updated.
<% end %>
<%= event.created_at.ago %>
<% if @current_page != 1 %>
<% end %>
<% 1.upto(@page_count) do |num| %>
<% if num == @current_page %>
<%= num %>
<% else %>
<%= num %>
<% end %>
<% end %>
<% if @current_page != @page_count %>
<% end %>
<%= comment.message %>