Sha256: 52bb35b3e3bfefd16eb56636d432fec0fff49fc0bcee86d2445901755f3ac0d8

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 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 => 'posts/search_form'
  = 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

7 entries across 7 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.6 app/views/forums/show.html.haml
radiant-forum-extension-2.1.4 app/views/forums/show.html.haml
radiant-forum-extension-2.1.3 app/views/forums/show.html.haml
radiant-forum-extension-2.1.2 app/views/forums/show.html.haml
radiant-forum-extension-2.1.1 app/views/forums/show.html.haml
radiant-forum-extension-2.0.9 app/views/forums/show.html.haml
radiant-forum-extension-2.0.8 app/views/forums/show.html.haml