Sha256: 38a84e2d31529ac0d45769dfe487c930ac682f1a04ccbbf54b1c27a3303757b7

Contents?: true

Size: 823 Bytes

Versions: 17

Compression:

Stored size: 823 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 " ", reader_url(reader, :format => :vcard), :class => 'vcard'

Version data entries

17 entries across 17 versions & 1 rubygems

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