Sha256: 3eaa14a4605189bb58c409483db8ec604e91a17ca39dd29d717e12a29443c9d9

Contents?: true

Size: 392 Bytes

Versions: 10

Compression:

Stored size: 392 Bytes

Contents

- with_children ||= false

.group        
  %h3
    = link_to group.name, group_url(group)
      
  %span.context
    = t("reader_extension.member_count", :count => group.readers.count) + '.'
    
  - if group.description
    %p
      = group.description
      
  - if with_children && group.children.any?
    .indented
      = render :partial => 'groups/group', :collection => group.children

Version data entries

10 entries across 10 versions & 1 rubygems

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