Show author badges on assets and comments
Comments layout is still broken, marked as TODO(Pablo).
This commit is contained in:
@@ -754,6 +754,24 @@ section.node-details-container
|
||||
&.status
|
||||
color: $color-text-dark
|
||||
|
||||
ul.blender-id-badges
|
||||
padding-left: 0
|
||||
list-style-type: none
|
||||
display: flex
|
||||
|
||||
> li
|
||||
margin: 0
|
||||
padding: 0
|
||||
|
||||
> a
|
||||
display: block
|
||||
padding: 2px
|
||||
|
||||
img
|
||||
// TODO(Pablo): fix this so that it keeps the aspect ratio okay when the original image isn't square.
|
||||
max-width: 16px
|
||||
max-height: 16px
|
||||
|
||||
.node-details-license
|
||||
color: $color-text-dark-secondary
|
||||
&:hover
|
||||
|
@@ -10,6 +10,9 @@
|
||||
.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') }}
|
||||
|
||||
|
@@ -47,6 +47,7 @@
|
||||
|
||||
li(title="Author")
|
||||
| {{ node.user.full_name }}
|
||||
| {{ node.user.badges.html|safe }}
|
||||
|
||||
li(
|
||||
title="Created {{ node._created }} (updated {{ node._updated | pretty_date_time }})")
|
||||
|
Reference in New Issue
Block a user