Sha256: efc4f147a6def54086828d1565ea1e07163d601933a0874d5a3d4db2e008a598
Contents?: true
Size: 1.05 KB
Versions: 2
Compression:
Stored size: 1.05 KB
Contents
- if Radiant.config['reader.share_details?'] - reader ||= @reader - if reader.unshareable? - if reader == current_reader %p.warning = t('reader_extension.you_are_not_shared') - else %div.contact %h3 = link_to reader.name, reader_url(reader, :format => :vcard), :class => 'vcard', :title => t('reader_extension.directory.vcard_link') %ul - if email = reader.email %li = t("reader_extension.directory.email") + ': ' = email_link email - %w{phone mobile}.each do |field| - if value = reader.send(field.to_sym) %li = t("reader_extension.directory.#{field}") + ': ' = value - if reader.postal_address? %li %span.indent = t("reader_extension.directory.postal_address") + ': ' = reader.postal_address.to_html - if reader == current_reader %li = link_to t("reader_extension.edit_profile"), reader_edit_profile_url, :class => 'edit'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
radiant-reader-extension-3.0.1 | app/views/readers/_profile.html.haml |
radiant-reader-extension-3.0.0 | app/views/readers/_profile.html.haml |