Sha256: 2d1e0aad033e5ba739000e4e819494946029de528e4ba23c24e879ccf640323a

Contents?: true

Size: 641 Bytes

Versions: 17

Compression:

Stored size: 641 Bytes

Contents

- case Radiant.config['reader.directory_visibility']
  - when 'public'
    - if @groups.any?
      %h2
        = t('reader_extension.groups').titlecase
      = render :partial => 'groups/group', :collection => @groups
    - if @readers.any?
      %h2
        = t('reader_extension.people').titlecase
      = render :partial => 'readers/list', :locals => {:readers => @readers}

  - when 'grouped'
    %h2
      = t('reader_extension.your_groups')
    - if @groups.any
      = render :partial => 'groups/group', :collection => @groups
    - else
      = t('reader_extension.no_groups')

  - else
    = t('reader_extension.no_directory')

    

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.20 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.19 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.18 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.17 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.16 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.15 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.14 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.13 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.11 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.10 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.9 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.8 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.7 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.5 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.4 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.3 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.2 app/views/readers/_directory.html.haml