Sha256: c269462ac8b544fffd26d130647231a845fb1d8cb04cb6ae7b7a2ca165cadfa0

Contents?: true

Size: 1.54 KB

Versions: 2

Compression:

Stored size: 1.54 KB

Contents

- content_for :signals do
  = render :partial => 'readers/flasher'

- content_for :messages do
  = render :partial => 'posts/post', :collection => @posts, :locals => { :with_context => false }

- content_for :new_topic do
  .newmessage
    = link_to t('new_topic_here'), new_forum_topic_url(@forum)

- content_for :reply_form do
  - unless @posts.next_page
    - if @topic.page
      = link_to "Post a reply", new_topic_post_url(@topic), :class => 'inviting remote_content'
    - else
      = render :partial => 'posts/reply'

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

- content_for :title do
  = @topic.name

- content_for :credits do
  %p.context
    posted by
    = link_to @topic.reader.name, reader_url(@topic.reader)
    = friendly_date(@topic.created_at)
    in
    = link_to @topic.forum.name + '.', forum_url(@topic.forum), {:class => 'breadhead'}

- content_for :mugshot do
  = gravatar_for(@topic.reader, {:size => 42}, {:alt => @topic.reader.name, :class => 'gravatar'})

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

- content_for :controls do
  = render :partial => 'readers/controls'

- content_for :breadhead do
  = link_to t('forum'), forum_home_url
  = t('separator')
  = link_to @forum.name, forum_url(@forum)

- content_for :breadcrumbs do
  = link_to 'Forum', topics_url
  \>
  = link_to @forum.name, forum_url(@forum) 
  \>
  = @topic.name

#forum
  = yield :pagination if @posts.previous_page
  = yield :messages
  = yield :pagination if @posts.next_page
  = yield :reply_form



Version data entries

2 entries across 2 versions & 1 rubygems

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