Enabled badges in comments

This commit is contained in:
2018-10-10 16:54:36 +02:00
parent 71185af880
commit dc2105fbb8
2 changed files with 19 additions and 7 deletions

View File

@@ -499,3 +499,20 @@ $comments-width-max: 710px
.comment-reply-meta
button.comment-action-cancel
display: inline-block
.comment-badges ul.blender-id-badges
list-style: none
padding: 0
margin: 4px 0 0 0
li
margin: 2px 0 !important
li, li a, li img
padding: 0 !important
li
display: inline
img
width: 16px
height: 16px

View File

@@ -6,16 +6,11 @@
.comment-avatar
img(src="{{ comment._user.email | gravatar }}", alt="{{ comment._user.full_name }}")
.comment-badges
| {{ comment._user.badges_html|safe }}
.comment-content
.comment-body
p.comment-author {{ comment._user.full_name }}
| {#
//- TODO(Pablo): due to the broad styling done on the .comment-content class the
//- styling for the badges that I put in _project.sass isn't applied properly here.
| {{ comment._user.badges_html|safe }}
| #}
span {{comment.properties | markdowned('content') }}
| {# TODO(Pablo): Markdown preview when editing #}