Add post date to moderator queue

This commit is contained in:
Robin Ward 2015-04-20 16:34:36 -04:00
parent 2c53a8b7bc
commit 5476723906
3 changed files with 13 additions and 2 deletions

View file

@ -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),

View file

@ -16,6 +16,9 @@
{{/user-link}}
</span>
</div>
<div class='post-info'>
<span class='post-date'>{{age-with-tooltip ctrl.post.created_at}}</span>
</div>
<div class='clearfix'></div>
<span class='post-title'>

View file

@ -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%);
}
}