2015-07-17 18:55:47 +02:00
|
|
|
.row
|
2016-08-11 16:21:30 -04:00
|
|
|
.col-md-12
|
|
|
|
|
.page-header
|
|
|
|
|
%h1
|
|
|
|
|
Comments
|
|
|
|
|
= "(#{@comments.length})" if @comments.any?
|
2015-09-21 15:56:57 +02:00
|
|
|
.col-md-12
|
2015-07-17 18:55:47 +02:00
|
|
|
%ul.nav.nav-tabs#commentsTable
|
|
|
|
|
%li.active
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#unread_comments', 'data-toggle' => 'tab' }
|
2015-07-17 18:55:47 +02:00
|
|
|
%span.fa.fa-comment
|
2015-09-21 15:56:57 +02:00
|
|
|
Unread
|
2015-07-17 18:55:47 +02:00
|
|
|
%li
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#posted_comments', 'data-toggle' => 'tab' }
|
2015-07-17 18:55:47 +02:00
|
|
|
%span.fa.fa-pencil
|
2015-09-21 15:56:57 +02:00
|
|
|
Posted
|
|
|
|
|
%li
|
2017-03-11 13:25:39 +05:30
|
|
|
%a{ href: '#all_comments', 'data-toggle' => 'tab' }
|
2015-09-21 15:56:57 +02:00
|
|
|
%span.fa.fa-comments-o
|
|
|
|
|
All
|
2015-07-17 18:55:47 +02:00
|
|
|
.tab-content
|
|
|
|
|
.tab-pane.active#unread_comments
|
|
|
|
|
= render partial: 'unread_comments'
|
|
|
|
|
.tab-pane#posted_comments
|
|
|
|
|
= render partial: 'posted_comments'
|
2015-09-21 15:56:57 +02:00
|
|
|
.tab-pane#all_comments
|
|
|
|
|
= render partial: 'all_comments'
|