Sha256: be0398afd670b1cebafe3926484209212351a146a58ff155dd048dd3356c5bfb

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

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

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

- content_for :preamble do
  %p
    = t('forums_introduction')
    = link_to t('latest_topics'), topics_url in any category.

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

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

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

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

- content_for :controls do
  = render :partial => 'readers/controls'
  
- content_for :breadhead do
  = link_to t("forum"), forum_home_url

- content_for :breadcrumbs do
  = link_to 'Forum', topics_url
  \>
  = t('forums')
  
#forum
  = yield :new_topic
  = yield :preamble
  = yield :pagination if @forums.previous_page
  = yield :messages
  = yield :pagination if @forums.next_page

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-forum-extension-1.1.1 app/views/forums/index.html.haml
radiant-forum-extension-1.1.0 app/views/forums/index.html.haml