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.38 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.37 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.36 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.35 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.33 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.32 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.31 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.30 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.29 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.28 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.27 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.26 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.25 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.24 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.23 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.20 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.19 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.18 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.17 app/views/readers/_memberships.html.haml
radiant-reader-extension-3.0.16 app/views/readers/_memberships.html.haml