Sha256: 2f657ae3f098c713c461e864f942d7d6b1359f418bc148538bbd70187999c448

Contents?: true

Size: 1.01 KB

Versions: 2

Compression:

Stored size: 1.01 KB

Contents

- content_for :messages do
  - if @topics.empty?
    %p 
      = t('forum_extension.no_topics')
  - else
    = render :partial => 'topics/topic', :collection => @topics

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

- content_for :pagination do
  = pagination_and_summary_for(@topics, t('forum_extension.topics'))

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

- content_for :title do
  = t('forum_extension.topics_heading')

- content_for :feedurl do
  = topics_url(:format => :rss)

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

- content_for :head do
  %h1
    = yield :title

- content_for :introduction do
  %p
    =t('forum_extension.topics_introduction')

= render :partial => 'shared/standard_forum_parts'

.forum
  = yield :pagination if @topics.previous_page
  = yield :messages
  = yield :pagination if @topics.next_page
  = yield :newtopic



Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.0.rc4 app/views/topics/index.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/topics/index.html.haml