mirror of https://github.com/bvn13/VoidForum.git
23 lines
601 B
Plaintext
23 lines
601 B
Plaintext
|
|
.panel.panel-default
|
|
.panel-heading
|
|
span #{comment.getUser().getNickname()}, #{viewHelper.getFormattedDate(comment.getCreatedAt())}
|
|
div
|
|
if userService.isCurrentUserAdmin()
|
|
.td
|
|
admin
|
|
|
|
.panel-body
|
|
!{comment.getRenderedContent()}
|
|
|
|
|
|
//if userService.currentUserCanWrite()
|
|
// div
|
|
// = userService.currentUser().getNickname()
|
|
// include fragments/commentCreationForm
|
|
|
|
//if commentService.childrenCount(comments, comment) > 0
|
|
// .comment-children(style="padding-left: #{5 * commentService.childrenCount(comments, comment)}px")
|
|
// include list
|
|
|