Sha256: d956812adfea7560b7a1c4ad0b8e9885a9882b59ffaff15bc21031329d777185

Contents?: true

Size: 898 Bytes

Versions: 8

Compression:

Stored size: 898 Bytes

Contents

-box :class => 'alt first_alt' do
  %h3=:author.l
  %dl.vcard
    %dt.photo
      = link_to tag(:img, :src => user.avatar_photo_url(:thumb), "height"=>"50", "alt"=>"#{user.login}", "width"=>"50" ), user_path(user), :title => "#{user.login}'s"+ :profile.l
    %dd.fn
      = link_to user.login, user_path(user), :class => 'url'
      -if user.featured_writer?      
        %small=:featured_writer.l
    %dd
    - if user.description
      = truncate_words( user.description, 12, '...')
    %dd.member
      =:member_since.l+" #{I18n.l(user.created_at, :format => :short_published_date)}"
    %dd.post
      - if user.posts.count == 1
        = link_to :singular_posts.l(:count => user.posts.count), user_posts_path(user)
      - else
        = link_to :plural_posts.l(:count => user.posts.count), user_posts_path(user)
    %dd.rss
      =link_to :rss_feed.l, user_posts_path(user, :format => :rss)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/posts/_author_profile.html.haml
community_engine-2.3.1 app/views/posts/_author_profile.html.haml
community_engine-2.3.0 app/views/posts/_author_profile.html.haml
community_engine-2.1.0 app/views/posts/_author_profile.html.haml
community_engine-2.0.0 app/views/posts/_author_profile.html.haml
community_engine-2.0.0.beta3 app/views/posts/_author_profile.html.haml
community_engine-2.0.0.beta2 app/views/posts/_author_profile.html.haml
community_engine-2.0.0.beta1 app/views/posts/_author_profile.html.haml