Sha256: fb55060a55c2a8b691fbd64f80ec5c53fde5751f459e02e8b91bbb831cd85809

Contents?: true

Size: 725 Bytes

Versions: 4

Compression:

Stored size: 725 Bytes

Contents

- post = topic.posts.first

%div{:id => topic.dom_id}
  .post
    .wrapper
      = standard_gravatar_for(post.reader, topic_url(topic))
      .post_header
        %h2
          = link_to_topic(topic)
          = feed_link(topic_path(topic, :format => :rss))
          
        = render :partial => "topics/context", :locals => {:topic => topic}

      .post_body
        = truncate_words(scrub_html(post.body), 24)
        = render :partial => 'posts/attachments', :locals => {:post => post}

      - if topic.has_replies?
        .post_replies
          %p.replies
            = render :partial => 'topics/voices', :locals => {:topic => topic}
            = render :partial => 'topics/replies', :locals => {:topic => topic}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.0 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/topics/_topic.html.haml