Sha256: 21f4887dbcabf28e9e2bf0cf2ae483b5aedb0c0a485e14c32295b0a92f765248

Contents?: true

Size: 676 Bytes

Versions: 2

Compression:

Stored size: 676 Bytes

Contents

<div class="notifications">
	<h2><%= t('notification.other') %></h2>

	<div class="read_all">
	  <%= link_to(t('notification.read_all'), update_all_notifications_path(:page => params[:page]),
	      :method => :put, class: 'mark_as_read') %>
	</div>

	<div class="list"> 
	  <% @notifications.each do |notification|%>
	    <% @notification = notification %>
	    <% read_class = notification.is_unread?(@actor) ? 'unread' : '' %>
	    <%= render :partial => 'notification', :object => notification, :locals => {:read_class => read_class} %>
	  <% end %>
	</div>
  <%= javascript_tag do %>
    $(function() {
      SocialStream.Notification.index();
    });
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_stream-2.0.0.beta1 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.0.beta1 app/views/notifications/_index.html.erb