Sha256: 1a0bdd06ce20808ba7f57a1096ebcd4e3a155977fed0d129e34af848ba1fbdc8

Contents?: true

Size: 476 Bytes

Versions: 9

Compression:

Stored size: 476 Bytes

Contents

- post ||= summary

%li.post
  %strong
    = link_to_post(post, :class => 'title')
  %span.context
    - if post.comment?
      = t('forum_extension.comment_on')
      = link_to post.page.title, post.page.url
      = t('forum_extension.posted')
    - elsif post.first?
      = t('forum_extension.new_topic_started')
    - else
      = t('forum_extension.reply_posted')
    = friendly_date(post.created_at)
  %br
  %span.excerpt
    = truncate_words(scrub_html(post.body), 12)

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.6 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.5 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.4 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.3 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.2 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.1 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.0 app/views/posts/_summary.html.haml
radiant-forum-extension-3.0.0.rc6 app/views/posts/_summary.html.haml