Sha256: 289ef48ba3a39eb3b80fe2eb9e807d353bb77b6fdceb18d6d71089d72e361b0d

Contents?: true

Size: 875 Bytes

Versions: 2

Compression:

Stored size: 875 Bytes

Contents

= render :partial => 'forums/standard_parts'

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

- content_for :introduction do
  %p
    = t('forums_introduction')

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

- content_for :messages do
  - if @forums.empty?
    %p 
      = t('no_forums')
  - else
    = yield :pagination if @forums.previous_page
    = render :partial => 'forums/forum', :collection => @forums
    = yield :pagination if @forums.next_page

- content_for :pagination do
  = pagination_and_summary_for(@forums, t('forum'))

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

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



#forum
  = yield :messages
  = yield :newtopic

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.6 app/views/forums/index.html.haml
radiant-forum-extension-2.0.5 app/views/forums/index.html.haml