Sha256: 39b5b52f65200dbdd95f6904726d2c71209e91bef36a06357e8fd89d5de322e5

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

= render :partial => 'forums/standard_parts'

- content_for :title do
  = @forum.name

- content_for :introduction do
  = clean_textilize(@forum.description)

- content_for :newtopic do
  .newmessage
    = link_to t('new_topic_here'), new_post_url(:forum_id => @forum.id)

- content_for :sidebar do
  = render :partial => "topics/latest"

- content_for :pagination do
  = pagination_and_summary_for @topics, 'topics'

- content_for :feedurl do
  = forum_path(@forum, :format => :rss)

- content_for :feedlink do
  = feed_link(forum_path(@forum, :format => :rss))

- content_for :breadhead do
  = link_to t('forum').titlecase + t('separator'), topics_url
  = link_to t('forums'), forums_url

- content_for :breadcrumbs do
  = yield :breadhead
  = t('separator')
  = yield :title

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



#forum
  = yield :messages
  = yield :newtopic

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.7 app/views/forums/show.html.haml