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'; 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), hasPMs: Em.computed.gt("private_messages_stats.all", 0),
hasStartedPMs: Em.computed.gt("private_messages_stats.mine", 0), hasStartedPMs: Em.computed.gt("private_messages_stats.mine", 0),

View File

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

View File

@ -6,6 +6,14 @@
width: 70px; width: 70px;
float: left; float: left;
} }
.post-info {
display: inline-block;
float: right;
font-size: 0.929em;
margin-top: 1px;
span {color: scale-color($primary, $lightness: 50%);}
}
.cooked { .cooked {
width: $topic-body-width; width: $topic-body-width;
float: left; float: left;
@ -31,7 +39,6 @@
} }
} }
border-bottom: 1px solid darken(scale-color-diff(), 10%);
} }
} }