Sha256: 437243654c8b0ab2f6b1321b4ecae7a0f89497539d63cfc5b1025fdbc5fd6621

Contents?: true

Size: 824 Bytes

Versions: 5

Compression:

Stored size: 824 Bytes

Contents

%section.news_items
  - for news in list
    %article.news_item.grid_15.alpha.omega
      .grid_11.alpha
        %header
          %h1.news_title
            %a{:href => resource.link_for(packet, news)} #{news.title}
        .news_description= markdown(news.description)
      %footer.grid_2.suffix_1.prefix_1.omega
        .date
          %time{:datetime=>news.updated_at, :pubdate => true}= news.updated_at.strftime("%B %e, %Y")
  %nav.news_nav.grid_15.alpha.omega
    - if page > 1
      %a.newer.grid_5.alpha{:href => "#{archive_url}/page/#{page-1}"} « Newer Posts 
    - else
      %a.newer.grid_5.alpha  
    %p.count.grid_5 Page #{page} of #{pages}
    - if page < pages
      %a.older.grid_5.omega{:href => "#{archive_url}/page/#{page+1}"} Older Posts &raquo;
    - else
      %a.older.grid_5.omega &nbsp;

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
orange-sparkles-0.7.1 lib/orange-sparkles/views/news/archive.haml
orange-sparkles-0.7.0 lib/orange-sparkles/views/news/archive.haml
orange-sparkles-0.5.9 lib/orange-sparkles/views/news/archive.haml
orange-sparkles-0.5.8 lib/orange-sparkles/views/news/archive.haml
orange-sparkles-0.5.7 lib/orange-sparkles/views/news/archive.haml