Sha256: f9e9a4775704fedae0fb2a5d269fbd89d66554afd89d32805f81e22dd7e146c3
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
- profile ||= user_profile .user-profiles--show.max-width .header %h2.title Profile #{profile.email} .newsitems .title Newsitems (#{profile.newsitems.length}) - profile.newsitems.each do |newsitem| = render 'ish_manager/newsitems/show', newsitem: newsitem .premium-purchases Payments (purchased items) (#{profile.payments.length}): - profile.payments.each do |payment| .Card.item = payment %ul %li <b>Email:</b> #{link_to profile.email, user_profile_path(profile)} = link_to '[edit]', edit_user_profile_path( profile ) %li <b>Name:</b> #{profile.name} %li <b>Role:</b> #{profile.role_name} %li <b>Profile Photo:</b> = image_tag profile.profile_photo.photo.url(:thumb) rescue nil .col.s8 %h5 Shared galleries - profile.shared_galleries.unscoped.where( :is_trash => false ).each do |g| > #{link_to g.name, gallery_path(g.slug)} <br /> = render 'meta', :item => g <hr /> %h5 Newsitems - profile.newsitems.each do |n| = render 'ish_manager/newsitems/item', n: n, profile_id: profile.id <hr />
Version data entries
4 entries across 4 versions & 1 rubygems