mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 22:21:11 +00:00
updated comment layout from upstream; added grouped_by_event behaviour to comments_dropdown and helper
This commit is contained in:
parent
5790d99fac
commit
f7c70ba55c
7 changed files with 78 additions and 77 deletions
|
|
@ -1,23 +1,24 @@
|
|||
%h1 Comments
|
||||
%br
|
||||
.row
|
||||
.col-lg-12
|
||||
.col-md-12
|
||||
%ul.nav.nav-tabs#commentsTable
|
||||
%li.active
|
||||
%a{:href=>"#unread_comments", "data-toggle"=>"tab"}
|
||||
%span.fa.fa-comment
|
||||
Unread comments
|
||||
%li
|
||||
%a{:href=>"#all_comments", "data-toggle"=>"tab"}
|
||||
%span.fa.fa-comments-o
|
||||
Comments
|
||||
Unread
|
||||
%li
|
||||
%a{:href=>"#posted_comments", "data-toggle"=>"tab"}
|
||||
%span.fa.fa-pencil
|
||||
Posted Comments
|
||||
Posted
|
||||
%li
|
||||
%a{:href=>"#all_comments", "data-toggle"=>"tab"}
|
||||
%span.fa.fa-comments-o
|
||||
All
|
||||
.tab-content
|
||||
.tab-pane.active#unread_comments
|
||||
= render partial: 'unread_comments'
|
||||
.tab-pane#all_comments
|
||||
= render partial: 'all_comments'
|
||||
.tab-pane#posted_comments
|
||||
= render partial: 'posted_comments'
|
||||
.tab-pane#all_comments
|
||||
= render partial: 'all_comments'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue