Sha256: 101360352642cff732549e990f70dc72f78a4296b839925806bf11047f4d0043

Contents?: true

Size: 536 Bytes

Versions: 6

Compression:

Stored size: 536 Bytes

Contents

<% if item.is_twitter? %>
    <h3 class="tweet article_heading">
<% else %>
    <h3 class="article_heading">
<% end %>
<% if item.title.present? %>
    <% if item.is_video? %>
        <span class="is_video_prefix">[VIDEO]</span>
    <% end %>
    <%= raw item.title %>
<% end %>
</h3>
<p class="author_and_date">
    <% if item.is_twitter?  %>
        <%= "via #{item.author} -" unless item.source.blank? %>
    <% end %>
    <% if item.published_at.present? %>
        <%= time_ago_in_words item.published_at %> ago
    <% end %>
</p>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sports_db-0.2.19 app/views/shared/_heading.html.erb
sports_db-0.2.18 app/views/shared/_heading.html.erb
sports_db-0.2.17 app/views/shared/_heading.html.erb
sports_db-0.2.16 app/views/shared/_heading.html.erb
sports_db-0.2.15 app/views/shared/_heading.html.erb
sports_db-0.2.14 app/views/shared/_heading.html.erb