Sha256: 123935a9a5a62b9a41a0d7977b93c8fc42cd7b774184736cc9f2726c55a946bd

Contents?: true

Size: 917 Bytes

Versions: 7

Compression:

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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.9 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.8 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.7 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.6 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.5 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.4 app/views/topics/_topic.html.haml
radiant-forum-extension-2.0.3 app/views/topics/_topic.html.haml