Sha256: 330062862f2d0670037973d741d9ecc593de99c518035db534c3cf96c5dd3a48

Contents?: true

Size: 846 Bytes

Versions: 3

Compression:

Stored size: 846 Bytes

Contents

- post = topic.posts.first

%div{:id => topic.dom_id}
  .post
    .post_wrapper
      .speaker
        = standard_gravatar_for(post.reader, forum_topic_url(topic.forum, topic))
      .post_header
        %h2
          = link_to topic.name, forum_topic_url(topic.forum, topic)
        = render :partial => 'posts/edit_links', :locals => {:post => post}
        %p.context
          = render :partial => "topics/context", :locals => {:topic => topic}

      .post_body
        = truncate_and_textilize(post.body, 100)
        = render :partial => 'posts/attachments', :locals => {:post => post}

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.2 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.1 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.0 app/views/topics/_topic.html.haml