Sha256: 46fa0e8533d1baa55d9ce08fae7dc9db2dbb31c34ca8fe278fa96f59de9f150d

Contents?: true

Size: 600 Bytes

Versions: 2

Compression:

Stored size: 600 Bytes

Contents

%li.forum{:id => forum.dom_id}
  %span.subject
    %a{:href => forum_url(forum), :class => 'main'}
      = forum.name
  - 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

2 entries across 2 versions & 1 rubygems

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