Sha256: 0d2736c04d7374e5d3a2d73c7a8ca964b1fdec638c7e5175d6845ef5e3694cda

Contents?: true

Size: 1.3 KB

Versions: 5

Compression:

Stored size: 1.3 KB

Contents

.hentry.yui-gf.row{"class"=>"#{user.authorizations.map(&:provider).join(' ')} #{user.vendor ? 'community_pro' : ''} #{user.featured_writer ? 'featured_writer' : ''}"}
  .vcard.author
    .yui-u.first.centered
      = link_to image_tag( user.avatar_photo_url(:thumb), :class => "polaroid" ), user_path(user)
    .yui-g
      .yui-u.first
        %h2= link_to user.login, user_path(user)
      
        %ul
          - if user.metro_area        
            %li.geo
              = :from2.l
              =user.location
          %li.update
            %abbr.published{:title=>"#{user.created_at}"}
              =:joined.l + " #{time_ago_in_words_or_date user.created_at}"
          - if current_user and current_user.can_request_friendship_with(user)
            %li.addfriend= add_friend_link(user)

        -unless user.tags.empty?
          %p=raw user.tags[0...6].compact.collect{|t| link_to( t.name, tag_url(t), :class => "tag") }.join(" ")

      .yui-u{"style"=>"overflow:hidden"}
        - if @search && @search['description']
          = truncate_words_with_highlight user.description, @search['description']
        - else
          = truncate_words user.description, 18, '...'

        - if current_user && current_user.admin?
          %br
          = link_to( :assume_id.l, assume_user_path(user), :method => :post )

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/users/_user.html.haml
community_engine-2.3.1 app/views/users/_user.html.haml
community_engine-2.3.0 app/views/users/_user.html.haml
community_engine-2.1.0 app/views/users/_user.html.haml
community_engine-2.0.0 app/views/users/_user.html.haml