Sha256: 75f2b4adc08ba2ab8cf6de53e864247528b1e0bd8b3dd2b6d4e556a80f8fd106

Contents?: true

Size: 1.13 KB

Versions: 12

Compression:

Stored size: 1.13 KB

Contents

= render :partial => 'readers/standard_parts'

- content_for :introduction do
  =t('readers_introduction')
  
- content_for :list do
  #readers
    - if @readers.size > 1
      - columns = [@readers[0..@readers.size/2], @readers[@readers.size/2+1..@readers.size]]
    - else
      - columns = [@readers]
    - columns.each do |readers|
      %div.column
        - readers.each do |reader|
          .reader
            %h2
              = link_to standard_gravatar_for(reader), reader_url(reader), {:title => reader.name}
              = link_to reader.name, reader_url(reader)
            %p.context
              = t("joined_on")
              = l(reader.created_at, :format => :date) + '.'
              - @index_partials.each do |partial|
                = render :partial => partial, :locals => {:reader => reader}

- content_for :pagination do
  = pagination_and_summary_for(@readers, t('person'))

- content_for :breadcrumbs do
  = link_to t('home').titlecase, '/'
  >
  = t('people').titlecase

- content_for :title do
  = t('people').titlecase


= yield :pagination if @readers.previous_page
= yield :list
= yield :pagination if @readers.next_page

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
radiant-reader-extension-1.3.13 app/views/readers/index.html.haml
radiant-reader-extension-1.3.12 app/views/readers/index.html.haml
radiant-reader-extension-1.3.11 app/views/readers/index.html.haml
radiant-reader-extension-1.3.10 app/views/readers/index.html.haml
radiant-reader-extension-1.3.9 app/views/readers/index.html.haml
radiant-reader-extension-1.3.8 app/views/readers/index.html.haml
radiant-reader-extension-1.3.7 app/views/readers/index.html.haml
radiant-reader-extension-1.3.6 app/views/readers/index.html.haml
radiant-reader-extension-1.3.4 app/views/readers/index.html.haml
radiant-reader-extension-1.3.3 app/views/readers/index.html.haml
radiant-reader-extension-1.3.1 app/views/readers/index.html.haml
radiant-reader-extension-1.3.0 app/views/readers/index.html.haml