Sha256: 34b6fa68fd10747893b4c8b0a96663ac959ec46f5c8594049d6c7b970d73169f

Contents?: true

Size: 714 Bytes

Versions: 23

Compression:

Stored size: 714 Bytes

Contents

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

  <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

23 entries across 23 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/notifications/_index.html.erb
social_stream-base-2.2.2 app/views/notifications/_index.html.erb
social_stream-2.2.1 base/app/views/notifications/_index.html.erb
social_stream-base-2.2.1 app/views/notifications/_index.html.erb
social_stream-2.2.0 base/app/views/notifications/_index.html.erb
social_stream-base-2.2.0 app/views/notifications/_index.html.erb
social_stream-2.1.1 base/app/views/notifications/_index.html.erb
social_stream-2.1.0 base/app/views/notifications/_index.html.erb
social_stream-base-2.1.0 app/views/notifications/_index.html.erb
social_stream-2.0.4 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.4 app/views/notifications/_index.html.erb
social_stream-2.0.3 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.3 app/views/notifications/_index.html.erb
social_stream-2.0.2 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.2 app/views/notifications/_index.html.erb
social_stream-2.0.1 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.1 app/views/notifications/_index.html.erb
social_stream-2.0.0 base/app/views/notifications/_index.html.erb
social_stream-base-2.0.0 app/views/notifications/_index.html.erb
social_stream-2.0.0.beta3 base/app/views/notifications/_index.html.erb