From 7350b6c6e60ee1e49a2e7c02819354bd2af4a12c Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Mon, 11 Jan 2016 22:40:59 +1100 Subject: [PATCH] UX: improve user page styling --- .../controllers/user-private-messages.js.es6 | 4 +- .../discourse/templates/user/activity.hbs | 2 +- .../templates/user/notifications.hbs | 2 +- .../discourse/templates/user/user.hbs | 6 ++- .../stylesheets/common/admin/admin_base.scss | 2 +- app/assets/stylesheets/desktop/user.scss | 39 ++++++++++++++----- 6 files changed, 40 insertions(+), 15 deletions(-) diff --git a/app/assets/javascripts/discourse/controllers/user-private-messages.js.es6 b/app/assets/javascripts/discourse/controllers/user-private-messages.js.es6 index c51bf407297..09dc372daa9 100644 --- a/app/assets/javascripts/discourse/controllers/user-private-messages.js.es6 +++ b/app/assets/javascripts/discourse/controllers/user-private-messages.js.es6 @@ -3,9 +3,9 @@ import Topic from 'discourse/models/topic'; export default Ember.Controller.extend({ - needs: ["user-topics-list"], + needs: ["user-topics-list", "user"], pmView: false, - + viewingSelf: Em.computed.alias("controllers.user.viewingSelf"), isGroup: Em.computed.equal('pmView', 'groups'), selected: Em.computed.alias('controllers.user-topics-list.selected'), diff --git a/app/assets/javascripts/discourse/templates/user/activity.hbs b/app/assets/javascripts/discourse/templates/user/activity.hbs index 01bc42ee163..e94b740c9c4 100644 --- a/app/assets/javascripts/discourse/templates/user/activity.hbs +++ b/app/assets/javascripts/discourse/templates/user/activity.hbs @@ -1,5 +1,5 @@
-