Sha256: a73f7b0dee5316b0a5a01b48907a5cc55f101920fae4a74013fa7e66aba131a9

Contents?: true

Size: 842 Bytes

Versions: 2

Compression:

Stored size: 842 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.name
    %td.name
      %h3
        = link_to reader.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 t('reader_extension.vcard'), reader_url(reader, :format => :vcard), :class => 'vcard'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-reader-extension-3.0.1 app/views/readers/_reader.html.haml
radiant-reader-extension-3.0.0 app/views/readers/_reader.html.haml