Sha256: b701d123586fe780450e2543f4fb5eee7b8754b20d9e3dcf1a4dcc6344a74811

Contents?: true

Size: 509 Bytes

Versions: 3

Compression:

Stored size: 509 Bytes

Contents

%h2
  = t('recent_topics')
%ul
  - Topic.latest(10).each do |topic|
    %li.topic
      = link_to_post(topic.posts.last, :class => 'title')
      %br
      %span.context
        - if topic.has_replies?
          = 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

3 entries across 3 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.2 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.1 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.0 app/views/topics/_latest.html.haml