Sha256: c0c610ecf6eca290ea24f943030578cb3a10d2980df8798446336295be6adcfc

Contents?: true

Size: 968 Bytes

Versions: 2

Compression:

Stored size: 968 Bytes

Contents

= render :partial => 'readers/flasher'

#forum
  #forum_preamble
    = clean_textilize(@forum.description)

  - unless @forum.for_comments?
    %p
      = link_to "start a new discussion here", new_forum_topic_url(@forum), :class => 'newmessage'

  - if @topics.empty?
    %p No talk here yet.

  - else
    - unless @topics.current_page == 1
      = paginate_and_summarise @topics, 'topics'

    %ul.main
      = render :partial => 'topics/topic', :collection => @topics, :locals => { :with_context => false }

    = paginate_and_summarise @topics, 'topics'

- content_for :pagetitle do
  = @forum.name

- content_for :feed do
  = feed_link(formatted_forum_path(@forum, :rss))

- content_for :breadhead do
  = link_to 'Categories', forums_url, :class => 'breadhead'

- content_for :breadcrumbs do
  = link_to 'Discussion Categories', forums_url
  \>
  = link_to @forum.name, forum_url(@forum) 

- content_for :controls do
  = render :partial => 'readers/controls'

Version data entries

2 entries across 2 versions & 1 rubygems

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