Sha256: 82ca5f39b2b98809c4b5d001c5bf05574a9f6208f5bb0ebf0d455e220aeccfe4

Contents?: true

Size: 838 Bytes

Versions: 8

Compression:

Stored size: 838 Bytes

Contents

%h2= :in_the_forums.l
%table{:width => '100%'}
  %thead
    %tr 
      %th.quiet
        =:topic.l
      %th.quiet.centered
        =:posts.l
  %tbody
    -@topics.each do |topic|
      %tr
        %td
          =link_to truncate(strip_tags(topic.title), :length => 45), forum_topic_path(:forum_id => topic.forum, :id => topic.sb_posts.last.topic.id, :page => topic.last_page, :anchor => topic.sb_posts.last.dom_id)
          %br
          %p.small.quiet  
            = "in #{link_to topic.forum.name, forum_path(topic.forum)} by <strong>#{topic.sb_posts.last.user.login}</strong>:".html_safe
            %br
            =h truncate(strip_tags(topic.sb_posts.last.body), :length => 45)
            
        %td.post_count
          %strong= topic.sb_posts_count
=link_to :go_to_the_forums.l, forums_path, :class => 'right small'        

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
community_engine-2.3.2 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.3.1 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.3.0 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.1.0 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.0.0 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.0.0.beta3 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.0.0.beta2 app/views/topics/_recent_topics_sidebar.haml
community_engine-2.0.0.beta1 app/views/topics/_recent_topics_sidebar.haml