Sha256: 662cfba56b1b88b6d8a7aaed12dcc1a60e45eb0c0ba96bd49530eaaed177fd8f
Contents?: true
Size: 1.08 KB
Versions: 15
Compression:
Stored size: 1.08 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.name %td.name %h3 = link_to reader.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
15 entries across 15 versions & 1 rubygems