Sha256: 662cfba56b1b88b6d8a7aaed12dcc1a60e45eb0c0ba96bd49530eaaed177fd8f

Contents?: true

Size: 1.08 KB

Versions: 15

Compression:

Stored size: 1.08 KB

Contents

- if membership
  - group = membership.group
  - reader = membership.reader
  - if reader
    %tr.reader
      - if reader.unshareable?
        %td{:colspan => 8}
          = t("reader_extension.listing_denied")
      - else
        %td.gravatar
          = link_to gravatar_for(reader, {:size => 18}, {:class => 'gravatar'}), reader_url(reader), :title => reader.name
        %td.name
          %h3
            = link_to reader.name, reader_url(reader)
        %td.role
          %p
            %span.role
              = membership.role
        %td.email
          %p
            = mail_to reader.email, nil, :encode => 'hex', :replace_at => " #{t('reader_extension.at')} "

        - [:phone, :mobile].each do |field|
          - value = reader.send(field)
          - unless value.blank?
            %td{:class => field.to_s}
              %p
                = value
          - else
            %td.missing
              %p
                = t("reader_extension.no_#{field}")

        %td.vcard
          %p
            = link_to " ", reader_url(reader, :format => :vcard), :class => 'vcard'

Version data entries

15 entries across 15 versions & 1 rubygems

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