Sha256: bff469108b7f00032f9d78068c90c96432b04da2175a2590f52d145c764108f4

Contents?: true

Size: 940 Bytes

Versions: 5

Compression:

Stored size: 940 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.name, reader_url(reader)
        - if reader.preferred_name != reader.name
          %span.note
            = reader.preferred_name
    %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

5 entries across 5 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.38 app/views/readers/_reader.html.haml
radiant-reader-extension-3.0.37 app/views/readers/_reader.html.haml
radiant-reader-extension-3.0.36 app/views/readers/_reader.html.haml
radiant-reader-extension-3.0.35 app/views/readers/_reader.html.haml
radiant-reader-extension-3.0.33 app/views/readers/_reader.html.haml