Sha256: 45e7a36ed608e8656c6b8ddec6ad80a764192438d6b2f9d675b64dd2b9db58f0

Contents?: true

Size: 1.02 KB

Versions: 7

Compression:

Stored size: 1.02 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 :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.0.6 app/views/forums/show.html.haml
radiant-forum-extension-2.0.5 app/views/forums/show.html.haml
radiant-forum-extension-2.0.4 app/views/forums/show.html.haml
radiant-forum-extension-2.0.3 app/views/forums/show.html.haml
radiant-forum-extension-2.0.2 app/views/forums/show.html.haml
radiant-forum-extension-2.0.1 app/views/forums/show.html.haml
radiant-forum-extension-2.0.0 app/views/forums/show.html.haml