Badges: don't display them just yet

This commit is contained in:
Pablo Vazquez 2018-09-18 15:23:38 +02:00
parent 9a0da126e6
commit 93720e226c
2 changed files with 6 additions and 1 deletions

View File

@ -10,13 +10,15 @@
.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: Markdown preview when editing
| {# TODO(Pablo): Markdown preview when editing #}
.comment-meta
.comment-rating(

View File

@ -39,12 +39,15 @@ style.
.form-group
| {{ _("Change your full name, email, and password at") }} #[a(href="https://www.blender.org/id/settings/profile",target='_blank') Blender ID].
| {#
| {% if current_user.badges_html %}
.form-group
p Your Blender ID badges:
| {{ current_user.badges_html|safe }}
p.hint-text Note that updates to these badges may take a few minutes to be visible here.
| {% endif %}
| #}
.py-3
a(href="https://gravatar.com/")
img.rounded-circle(src="{{ current_user.gravatar }}")