diff --git a/app/assets/javascripts/discourse/models/user.js.es6 b/app/assets/javascripts/discourse/models/user.js.es6 index b458c1188..4fc9d1a8f 100644 --- a/app/assets/javascripts/discourse/models/user.js.es6 +++ b/app/assets/javascripts/discourse/models/user.js.es6 @@ -1,6 +1,7 @@ +import RestModel from 'discourse/models/rest'; import avatarTemplate from 'discourse/lib/avatar-template'; -const User = Discourse.Model.extend({ +const User = RestModel.extend({ hasPMs: Em.computed.gt("private_messages_stats.all", 0), hasStartedPMs: Em.computed.gt("private_messages_stats.mine", 0), diff --git a/app/assets/javascripts/discourse/templates/queued-posts.hbs b/app/assets/javascripts/discourse/templates/queued-posts.hbs index b7e4815b2..9a72cd50f 100644 --- a/app/assets/javascripts/discourse/templates/queued-posts.hbs +++ b/app/assets/javascripts/discourse/templates/queued-posts.hbs @@ -16,6 +16,9 @@ {{/user-link}} +
+ {{age-with-tooltip ctrl.post.created_at}} +
diff --git a/app/assets/stylesheets/desktop/queued-posts.scss b/app/assets/stylesheets/desktop/queued-posts.scss index dc3bb1fda..d927ce5b4 100644 --- a/app/assets/stylesheets/desktop/queued-posts.scss +++ b/app/assets/stylesheets/desktop/queued-posts.scss @@ -6,6 +6,14 @@ width: 70px; float: left; } + .post-info { + display: inline-block; + float: right; + font-size: 0.929em; + margin-top: 1px; + span {color: scale-color($primary, $lightness: 50%);} + } + .cooked { width: $topic-body-width; float: left; @@ -31,7 +39,6 @@ } } - border-bottom: 1px solid darken(scale-color-diff(), 10%); } }