Sha256: 6532381326a3d75eaee97d4b17e999aca55f94872c431e6dbc1448008e11a379

Contents?: true

Size: 667 Bytes

Versions: 7

Compression:

Stored size: 667 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)
          
        = 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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.6 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.5 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.4 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.3 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.2 app/views/topics/_topic.html.haml
radiant-forum-extension-3.0.1 app/views/topics/_topic.html.haml