Sha256: 485c6387a516769ef5fe8dd10c49e6bf2b2e7a889236b8f1036c06bbacb525a9

Contents?: true

Size: 551 Bytes

Versions: 11

Compression:

Stored size: 551 Bytes

Contents

- if forum.visible_to?(current_reader)
  .forum
    .forum_wrapper{:id => forum.dom_id}
      .forum_header
        %h2
          = link_to forum.name, forum_url(forum), :class => 'main'
        - if forum.description
          %p.context
            = forum.description
      .forum_contents
        - if forum.topics.any?
          %ul
            - forum.topics.latest(3).each do |topic|
              = render :partial => 'topics/minimal', :locals => {:topic => topic}
        - else
          %p.note
            = t('forum_extension.no_topics')

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.6 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.5 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.4 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.3 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.2 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.1 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.0 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.0.rc4 app/views/forums/_forum.html.haml
radiant-forum-extension-3.0.0.rc3 app/views/forums/_forum.html.haml