From f6b4d0d57a8b67f9ceb74ffad04c1b7f0a8f4235 Mon Sep 17 00:00:00 2001 From: tms Date: Sat, 9 Feb 2013 22:33:07 -0500 Subject: [PATCH] Swap name / title in activity stream, link post number --- .../discourse/templates/user/stream.js.handlebars | 5 +++-- app/assets/stylesheets/application/user.css.scss | 6 +----- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/app/assets/javascripts/discourse/templates/user/stream.js.handlebars b/app/assets/javascripts/discourse/templates/user/stream.js.handlebars index fb280f331f8..36deec71ec6 100644 --- a/app/assets/javascripts/discourse/templates/user/stream.js.handlebars +++ b/app/assets/javascripts/discourse/templates/user/stream.js.handlebars @@ -4,9 +4,10 @@
{{avatar this imageSize="large" extraClasses="actor" avatarTemplatePath="avatar_template"}}
{{date path="created_at" leaveAgo="true"}} - {{unbound name}}
+ {{unbound title}}
+ {{unbound name}} {{unbound description}} - #{{unbound post_number}} {{unbound title}} + #{{unbound post_number}}

{{{unbound excerpt}}} diff --git a/app/assets/stylesheets/application/user.css.scss b/app/assets/stylesheets/application/user.css.scss index f0320623b85..8a91c8377ec 100644 --- a/app/assets/stylesheets/application/user.css.scss +++ b/app/assets/stylesheets/application/user.css.scss @@ -241,10 +241,6 @@ color: lighten($black, 30%); } .item { - .post-number { - color: lighten($black, 40%); - margin-right: 4px; - } padding: 10px 8px; background-color: white; border: 1px solid #b9b9b9; @@ -266,7 +262,7 @@ float: left; margin-right: 10px; } - .name { + .title { display: inline-block; margin-bottom: 4px; font-size: 14px;