Sha256: 013606f13e7277fec0e38bd44a388c8d0f640d669db0be5d81e9ea073f406953

Contents?: true

Size: 843 Bytes

Versions: 9

Compression:

Stored size: 843 Bytes

Contents

%tr.reader
  - if reader.unshareable?
    %td{:colspan => 7}
      = t("reader_extension.listing_denied")
  - else
    %td.gravatar
      = link_to gravatar_for(reader, {:size => 18}, {:class => 'gravatar'}), reader_url(reader), :title => reader.preferred_name
    %td.name
      %h3
        = link_to reader.preferred_name, reader_url(reader)
    %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

9 entries across 9 versions & 1 rubygems

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