Sha256: 5ff6c10ab9514ebcffc633612e33c0d139efc4ea359d719f2366cd7646e6f55a

Contents?: true

Size: 1.16 KB

Versions: 8

Compression:

Stored size: 1.16 KB

Contents

#yui-main
  .yui-b
    -box :class => 'hfeed' do  
      %h3=:users_blog.l :user=>  @user.login
      .hentry.main
        %h4.entry-title= link_to @post.title, user_post_path(@user, @post), :rel => 'bookmark'
        .vcard.author
          %ul
            %li.update
              %a{"href"=>"#{user_post_path(@user, @post)}", "rel"=>"bookmark"}
                %abbr.published{"title"=>"#{@post.published_at}"}= @post.published_at_display(:literal_date)
            -if @is_current_user || admin? || moderator?
              %li.edit= link_to :edit.l, edit_user_post_path(@post.user, @post)
              %li.delete= link_to :delete.l, user_post_path(@post.user, @post), {:method => :delete, :confirm => :permanently_delete_this_post.l}
              
        / vcard
        .entry-content
          = @post.post
          = render :partial => 'polls/poll_ui', :locals => {:poll => @post.polls.first} unless @post.polls.empty?
          - unless @post.tags.empty?
            %ul.tags
              - @post.tags.each do |t|
                %li=link_to( t.name, tag_url(t), :rel => 'tag')
        / entry-content

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

Version data entries

8 entries across 8 versions & 1 rubygems

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