mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-31 03:52:12 +02:00
fixes Retrospring/bugs#23
This commit is contained in:
parent
a1a0781cc9
commit
667bb155c9
2 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
There are no comments yet.
|
There are no comments yet.
|
||||||
- else
|
- else
|
||||||
%ul.comments
|
%ul.comments
|
||||||
- report.moderation_comments.all.each do |comment|
|
- report.moderation_comments.order(:created_at).each do |comment|
|
||||||
%li{data: { comment_id: comment.id }}
|
%li{data: { comment_id: comment.id }}
|
||||||
.media.comments--media
|
.media.comments--media
|
||||||
.pull-left
|
.pull-left
|
||||||
|
@ -22,4 +22,4 @@
|
||||||
%p.comments--content= comment.content
|
%p.comments--content= comment.content
|
||||||
.form-group.has-feedback{name: 'mod-comment-new-group', data: { id: report.id }}
|
.form-group.has-feedback{name: 'mod-comment-new-group', data: { id: report.id }}
|
||||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'mod-comment-new', data: { id: report.id }}
|
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'mod-comment-new', data: { id: report.id }}
|
||||||
%span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
|
%span.text-muted.form-control-feedback.comments--count{id: "mod-comment-charcount-#{report.id}"} 160
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
There are no comments yet.
|
There are no comments yet.
|
||||||
- else
|
- else
|
||||||
%ul.comments
|
%ul.comments
|
||||||
- a.comments.all.each do |comment|
|
- a.comments.order(:created_at).each do |comment|
|
||||||
%li{data: { comment_id: comment.id }}
|
%li{data: { comment_id: comment.id }}
|
||||||
.media.comments--media
|
.media.comments--media
|
||||||
.pull-left
|
.pull-left
|
||||||
|
@ -30,4 +30,4 @@
|
||||||
- if user_signed_in?
|
- if user_signed_in?
|
||||||
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
.form-group.has-feedback{name: 'ab-comment-new-group', data: { a_id: a.id }}
|
||||||
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
|
%input.form-control.comments--box{type: :text, placeholder: 'Comment...', name: 'ab-comment-new', data: {a_id: a.id }}
|
||||||
%span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160
|
%span.text-muted.form-control-feedback.comments--count{id: "ab-comment-charcount-#{a.id}"} 160
|
||||||
|
|
Loading…
Reference in a new issue