Sha256: cc2e63f3e2d00be4cfb1442e917a50b608b28e8f9d2d98fe7fc4596a7fc4c43e

Contents?: true

Size: 852 Bytes

Versions: 1

Compression:

Stored size: 852 Bytes

Contents

= new_topic_button

= link_to t('.mark_all_as_read'), mark_all_as_read_path

.container-fluid
  .row.forum-header
    .col-md-1
    .col-md-6=t('.subject')
    .col-md-1=t('.author')
    .col-md-1=t('.answers')
    .col-md-1=t('.views')
    .col-md-2=t('.last_message')

  .row.topic-list-container
    .box.topic-list
      - if @forum_topics.blank?
        .row.topic-row
          .col-md-12.col-sm-12.text-center= t('.no-topics')
      - else
        - @forum_topics.each do |topic|
          .row.topic-row
            .col-md-7.col-sm-7= render 'topic_subject', topic: topic, forum: @forum
            .col-md-1.col-sm-1= topic.posts.first.user.login
            .col-md-1.col-sm-1= topic.posts_count
            .col-md-1.col-sm-1= topic.views.to_i
            .col-md-2.col-sm-2.info= topic_last_post_info(topic)

= will_paginate @forum_topics

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
my_forum-0.0.1.beta1 app/views/my_forum/forums/show.haml