Enabled badges in comments
This commit is contained in:
@@ -499,3 +499,20 @@ $comments-width-max: 710px
|
|||||||
.comment-reply-meta
|
.comment-reply-meta
|
||||||
button.comment-action-cancel
|
button.comment-action-cancel
|
||||||
display: inline-block
|
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
|
||||||
|
@@ -6,16 +6,11 @@
|
|||||||
|
|
||||||
.comment-avatar
|
.comment-avatar
|
||||||
img(src="{{ comment._user.email | gravatar }}", alt="{{ comment._user.full_name }}")
|
img(src="{{ comment._user.email | gravatar }}", alt="{{ comment._user.full_name }}")
|
||||||
|
.comment-badges
|
||||||
|
| {{ comment._user.badges_html|safe }}
|
||||||
.comment-content
|
.comment-content
|
||||||
.comment-body
|
.comment-body
|
||||||
p.comment-author {{ comment._user.full_name }}
|
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') }}
|
span {{comment.properties | markdowned('content') }}
|
||||||
|
|
||||||
| {# TODO(Pablo): Markdown preview when editing #}
|
| {# TODO(Pablo): Markdown preview when editing #}
|
||||||
|
Reference in New Issue
Block a user