Sha256: 4d1ef020144f92fe28cd65fc412a397a5c34a65927355ff34424ad1f2a8fe677

Contents?: true

Size: 912 Bytes

Versions: 5

Compression:

Stored size: 912 Bytes

Contents

- post = topic.posts.first

%div{:id => topic.dom_id}
  .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)
          = feed_link(topic_path(topic, :format => :rss))
          
        %p.context
          = render :partial => "topics/context", :locals => {:topic => topic}
          = render :partial => 'posts/edit_links', :locals => {:post => post}

      .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

5 entries across 5 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.6 app/views/topics/_topic.html.haml
radiant-forum-extension-2.1.4 app/views/topics/_topic.html.haml
radiant-forum-extension-2.1.3 app/views/topics/_topic.html.haml
radiant-forum-extension-2.1.2 app/views/topics/_topic.html.haml
radiant-forum-extension-2.1.1 app/views/topics/_topic.html.haml