Sha256: 3e28b0092ca58c431ef33a1ac5fe26d71725da821438bac794ffcd03b9e24ee3

Contents?: true

Size: 547 Bytes

Versions: 2

Compression:

Stored size: 547 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?
          - 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

2 entries across 2 versions & 1 rubygems

Version Path
radiant-forum-extension-2.0.4 app/views/topics/_latest.html.haml
radiant-forum-extension-2.0.3 app/views/topics/_latest.html.haml