Sha256: 148bf5fd3f7c8a20b22b3ed9f339f00af9dc9d95aba4cc73bbd4f28feed2b15d

Contents?: true

Size: 874 Bytes

Versions: 5

Compression:

Stored size: 874 Bytes

Contents

= render :partial => 'forums/standard_parts'

- content_for :title do
  = t('posts_heading')

- content_for :introduction do
  = t('posts_introduction')
  
- content_for :sidebar do
  = render :partial => "topics/latest"

- content_for :newtopic do
  .newmessage
    = link_to t('new_topic'), new_post_url

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

- content_for :breadcrumbs do
  = link_to t('forum').titlecase, topics_url
  = t('separator')
  = yield :title

- content_for :feedlink do
  = feed_link(posts_path(:format => :rss))

- content_for :messages do
  - if @posts.empty?
    %p 
      = t('no_posts')
  - else
    = yield :pagination if @posts.previous_page
    = render :partial => 'posts/post', :collection => @posts, :locals => {:with_context => true}
    = yield :pagination if @posts.next_page

#forum
  = yield :messages

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.4 app/views/posts/index.html.haml
radiant-forum-extension-2.0.3 app/views/posts/index.html.haml
radiant-forum-extension-2.0.2 app/views/posts/index.html.haml
radiant-forum-extension-2.0.1 app/views/posts/index.html.haml
radiant-forum-extension-2.0.0 app/views/posts/index.html.haml