Sha256: 01ba8e74ca9fc127c5eda419d8f1a7616ae166e84e663dd986560b8c7ae4ca7c

Contents?: true

Size: 329 Bytes

Versions: 30

Compression:

Stored size: 329 Bytes

Contents

- reader ||= @reader
- memberships = reader.memberships
- if memberships.any?
  %ul.groups
    - memberships.each do |membership|
      - if membership.group.visible_to?(current_reader)
        %li
          = link_to_group(membership.group)
          - if membership.role?
            %span.role
              = membership.role

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.15 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.14 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.13 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.11 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.10 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.9 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.8 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.7 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.5 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.4 app/views/readers/_memberships.html.haml