Sha256: 6b12245b0721a55833339e4e6573c3f0cb2f434ad417959536ff8b437d0c52c2

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

Stored size: 590 Bytes

Contents

%li.forum{:id => forum.dom_id}
  %span.subject
    = link_to forum.name, forum_url(forum), :class => 'main'
  - if topic = forum.recent_topics.first
    %span.context
      = forum.topics.count
      = pluralize forum.topics.count, "discussions"
      containing
      = forum.posts.count
      messages,
      %br
      most recently in
      = link_to topic.name, forum_topic_url(forum, topic)
      = time_ago_in_words(topic.replied_at || topic.created_at)
      ago.
  - else 
    %span.context
      No posts yet.
  %div.preview
    = truncate_and_textilize(forum.description, 40)
    

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
radiant-forum-extension-1.2.1 app/views/forums/_forum.html.haml
radiant-forum-extension-1.1.2 app/views/forums/_forum.html.haml
radiant-forum-extension-1.1.1 app/views/forums/_forum.html.haml
radiant-forum-extension-1.1.0 app/views/forums/_forum.html.haml