Sha256: 698878c63c51e176a6e287b5d7b372794d4c89bdaaeca370c17f6b1828a0995d
Contents?: true
Size: 1.09 KB
Versions: 55
Compression:
Stored size: 1.09 KB
Contents
<% if entry.feed.service.video? -%> <% link = Nokogiri::HTML(entry.content).css('a').detect{ |link| !link.css('img').blank? } -%> <% link.to_s.gsub('<a', 'class="feed-video" rel="video_' + content_id) if link -%> <%= link %> <% elsif entry.feed.service.photo? -%> <% link = Nokogiri::HTML(entry.content).css('a').detect{ |link| !link.css('img').blank? } -%> <% link.to_s.gsub('<a', 'class="feed-photo" rel="photo_' + content_id) if link -%> <%= link %> <% elsif entry.feed.service.bookmark? -%> <div class="hentry <%= cycle("even", "odd") -%>"><h4 class="title"><a class="bookmark-link" href="<%= entry.permalink %>" target="_blank"><%= entry.title %></a></h4></div> <% else -%> <div class="hentry <%= cycle("even", "odd") -%>"> <h4 class="title"><a class="entry-link" href="#" target="blank"><%= entry.title %></a><span class="entry-close"><a class="entry-link-close" href="#"><%= t('muck.services.close') %></a></span></h4> <div class="entry"> <%= entry.content %> <p><a href="<%= entry.permalink %>"><%= t('muck.services.read_more') %></a></p> </div> </div> <% end -%>
Version data entries
55 entries across 55 versions & 1 rubygems