Sha256: 6be8258452c09e5baa48aa021845165e7d0016382c88e13f735c6f105920db8b
Contents?: true
Size: 1.1 KB
Versions: 10
Compression:
Stored size: 1.1 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.preferred_name %td.name %h3 = link_to reader.preferred_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
10 entries across 10 versions & 1 rubygems