Sha256: d8f736c6d926bfbeff255c1964e1102bf16c432c59fe6edbb71e20fda177e876

Contents?: true

Size: 804 Bytes

Versions: 10

Compression:

Stored size: 804 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')

    - if @readers.any?
      %h2
        = t('reader_extension.your_group_members')
      = render :partial => 'readers/list', :locals => {:readers => @readers}

  - else
    = t('reader_extension.no_directory')

    

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.32 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.31 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.30 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.29 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.28 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.27 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.26 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.25 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.24 app/views/readers/_directory.html.haml
radiant-reader-extension-3.0.23 app/views/readers/_directory.html.haml