Sha256: 6c92d36d1f0cbbc665b537b658976669858fc9918685b21c103f59fffd101fbc

Contents?: true

Size: 844 Bytes

Versions: 8

Compression:

Stored size: 844 Bytes

Contents

.yui-b
  = render :partial => 'author_profile', :locals => {:user => @user}

  - unless @popular_posts.empty?
    -box :id => "posts", :class => 'alt' do
      %h3=:popular_posts.l
      %ul.list.page
        - @popular_posts.each do |post|
          %li= link_to truncate(post.title, :length => 75), user_post_path(@user, post)

#yui-main
  .yui-b
    -box :class => "posts hfeed" do 
      %h3
        = link_to :users_blog.l(:user => @user.login), user_posts_path(@user)
        = @category ? "» #{link_to(@category.name.upcase, users_posts_in_category_path(@user, @category.name))}".html_safe : ''

      = link_to( :new_post.l, new_user_post_path(@user), {:class => "right"})  if @is_current_user
      %br

      = render :partial => 'post', :collection => @posts

      .pagination=paginating_links @posts if @posts.total_count > 1

Version data entries

8 entries across 8 versions & 1 rubygems

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