From ef16c0868850512829a6e58da9fd4eb718fe61ad Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Tue, 11 Feb 2014 17:34:44 -0500 Subject: [PATCH] Don't show group title under poster, only show actual title, but link it to the group. --- .../javascripts/discourse/templates/post.js.handlebars | 9 +++++++-- app/assets/stylesheets/desktop/topic-post.scss | 4 ---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/post.js.handlebars b/app/assets/javascripts/discourse/templates/post.js.handlebars index dd44c335a..b6f3cbb28 100644 --- a/app/assets/javascripts/discourse/templates/post.js.handlebars +++ b/app/assets/javascripts/discourse/templates/post.js.handlebars @@ -28,8 +28,13 @@

{{breakUp name}}

{{/if}} - {{#if user_title}}
{{user_title}}
{{/if}} - {{#if primary_group_name}}
{{unbound primary_group_name}}
{{/if}} + {{#if user_title}} + {{#if primary_group_name}} +
{{unbound user_title}}
+ {{else}} +
{{unbound user_title}}
+ {{/if}} + {{/if}} {{else}}
diff --git a/app/assets/stylesheets/desktop/topic-post.scss b/app/assets/stylesheets/desktop/topic-post.scss index 299a16d28..45656dc92 100644 --- a/app/assets/stylesheets/desktop/topic-post.scss +++ b/app/assets/stylesheets/desktop/topic-post.scss @@ -473,12 +473,8 @@ iframe { } a.user-group { - margin: 4px 0 0 0; - padding: 0px; color: $primary_light; - font-size: 80%; width: 100%; - line-height: 13px; } h3 a {