Sha256: 4a101877bc13178b611e3b63a311abaa8e977cdb9b5461f6ed30b7853ef6d4eb

Contents?: true

Size: 944 Bytes

Versions: 6

Compression:

Stored size: 944 Bytes

Contents

<div class="div_pubs clearfix">
  <% news_for_render.each_with_index do |pub,index| %>
      <% k = index%3 %>
      <div class="pub_medium pub_medium_<%= k %>">
        <div class="time"><%= pub[:time] %></div>
        <%= render_image_link_lazy_holder(pub[:pi]) %>
        <div class="rubric_title">
          <%= pub[:rubric] %>
        </div>
        <div class="title">
          <a title="<%= pub[:title] %>" href="<%= pub[:pi][:a_href]%>"><%= pub[:title] %></a>
        </div>
        <%= render_image_link_lazy(pub[:cl]) if pub[:cl].present? %>
        <div class="comments" title="Комментариев: <%= pub[:comments_count]%>">
          <i class="fa fa-comment"></i>
          <%= pub[:comments_count]%>
        </div>
      </div>
      <% if k == 2 && index != news_for_render.count-1 %>
      <div class="hr"></div>
      <% end %>
  <% end %>
</div>
<div class="div_will_paginate">
  <%= will_paginate news_list %>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
c80_news_tz-0.1.1.23 app/views/shared/_news_list.html.erb
c80_news_tz-0.1.1.22 app/views/shared/_news_list.html.erb
c80_news_tz-0.1.1.21 app/views/shared/_news_list.html.erb
c80_news_tz-0.1.1.19 app/views/shared/_news_list.html.erb
c80_news_tz-0.1.1.18 app/views/shared/_news_list.html.erb
c80_news_tz-0.1.1.17 app/views/shared/_news_list.html.erb