From aa54006ad588bfcbd19b9caa8f603034e6f8f36a Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Fri, 4 Dec 2015 16:49:02 -0500 Subject: [PATCH] add div under poster avatar so people can add badges without a plugin --- app/assets/javascripts/discourse/templates/post.hbs | 1 + app/assets/stylesheets/common/base/topic-post.scss | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/app/assets/javascripts/discourse/templates/post.hbs b/app/assets/javascripts/discourse/templates/post.hbs index c9af35d16..1606d6d6f 100644 --- a/app/assets/javascripts/discourse/templates/post.hbs +++ b/app/assets/javascripts/discourse/templates/post.hbs @@ -17,6 +17,7 @@ {{else}} {{raw "post/poster-avatar" post=this classNames="main-avatar"}} {{/if}} +
{{plugin-outlet "poster-avatar-bottom"}} diff --git a/app/assets/stylesheets/common/base/topic-post.scss b/app/assets/stylesheets/common/base/topic-post.scss index d50548fe4..fc931a22c 100644 --- a/app/assets/stylesheets/common/base/topic-post.scss +++ b/app/assets/stylesheets/common/base/topic-post.scss @@ -147,6 +147,10 @@ aside.quote { } } +.topic-avatar .poster-avatar-extra { + display: none; +} + .topic-body { &.highlighted { background-color: dark-light-diff($tertiary, $secondary, 85%, -65%);