Sha256: e54998fd6c37ae92cd8bc0ff974df6eec92583a2981cd662f3ac964ee9069ac5

Contents?: true

Size: 1.37 KB

Versions: 1

Compression:

Stored size: 1.37 KB

Contents

= render :partial => 'forums/standard_parts'

- content_for :newtopic do
  .newmessage
    = link_to t('new_topic_here'), new_post_url(:forum_id => @forum.id)

- content_for :pagination do
  = pagination_and_summary_for(@posts, t('post'))

- content_for :title do
  = @topic.name

- content_for :person do
  = standard_gravatar_for(@topic.reader)

- content_for :first_post do
  = render :partial => 'posts/post', :locals => {:post => @topic.posts.first, :headless => true, :with_context => true}

- content_for :feedurl do
  = topic_path(@topic, :format => :rss)

- content_for :feedlink do
  = feed_link(topic_path(@topic, :format => :rss))

- content_for :parent do
  = link_to @topic.forum.name + ':', forum_url(@topic.forum)

- content_for :breadhead do
  = link_to t('forum').titlecase + t('separator'), topics_url
  = yield :parent

- content_for :breadcrumbs do
  = yield :breadhead
  = t('separator')
  = yield :title

- content_for :messages do
  = yield :pagination if @posts.previous_page
  = render :partial => 'posts/post', :collection => @posts, :locals => {:with_context => false}
  = yield :pagination if @posts.next_page

- content_for :reply_form do
  = render :partial => 'topics/reply', :locals => {:topic => @topic}

- content_for :sidebar do
  = render :partial => 'topics/latest'



#forum
  = yield :first_post
  = yield :messages
  = yield :reply_form unless @posts.next_page

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.7 app/views/topics/show.html.haml