From 93720e226c3d4882658d056c3bf0670764ea37f5 Mon Sep 17 00:00:00 2001 From: Pablo Vazquez Date: Tue, 18 Sep 2018 15:23:38 +0200 Subject: [PATCH] Badges: don't display them just yet --- src/templates/nodes/custom/comment/_macros.pug | 4 +++- src/templates/users/settings/profile.pug | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/templates/nodes/custom/comment/_macros.pug b/src/templates/nodes/custom/comment/_macros.pug index fc2601ad..7c8e473f 100644 --- a/src/templates/nodes/custom/comment/_macros.pug +++ b/src/templates/nodes/custom/comment/_macros.pug @@ -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( diff --git a/src/templates/users/settings/profile.pug b/src/templates/users/settings/profile.pug index 7a6f1d8c..ad4aec8a 100644 --- a/src/templates/users/settings/profile.pug +++ b/src/templates/users/settings/profile.pug @@ -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 }}")