Sha256: f9cd8815f184f9dbff42df8c094021fcbb7389b51fd9ecb90e53349359ee76a2

Contents?: true

Size: 546 Bytes

Versions: 9

Compression:

Stored size: 546 Bytes

Contents

%h2
  = t('recent_topics')
%ul
  - Topic.latest(5).each do |topic|
    %li.topic
      = link_to_post(topic.posts.last, :class => 'title')
      %br
      %span.context
        - if topic.has_replies?
          - if topic.replied_by
            = t('new_reply_from')
            = link_to topic.replied_by.name, reader_url(topic.replied_by)
            = friendly_date(topic.replied_at)
        - else
          = t('started_by')
          = link_to topic.reader.name, reader_url(topic.reader)
          = friendly_date(topic.created_at)
        

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
radiant-forum-extension-2.1.4 app/views/topics/_latest.html.haml
radiant-forum-extension-2.1.3 app/views/topics/_latest.html.haml
radiant-forum-extension-2.1.2 app/views/topics/_latest.html.haml
radiant-forum-extension-2.1.1 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.9 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.8 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.7 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.6 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.5 app/views/topics/_latest.html.haml