UX: use 'last poster' avatar for mobile topics list
This commit is contained in:
parent
574805b682
commit
bde4bc52d7
|
@ -8,7 +8,7 @@ const Topic = RestModel.extend({
|
|||
message: null,
|
||||
errorLoading: false,
|
||||
|
||||
creator: Ember.computed.alias("posters.firstObject.user"),
|
||||
lastPoster: Ember.computed.alias("posters.lastObject.user"),
|
||||
|
||||
@computed('fancy_title')
|
||||
fancyTitle(title) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<td>
|
||||
<div class='creator pull-left'>
|
||||
<a href="{{content.lastPostUrl}}">{{avatar topic.creator imageSize="large"}}</a>
|
||||
<div class='pull-left'>
|
||||
<a href="{{content.lastPostUrl}}">{{avatar topic.lastPoster imageSize="large"}}</a>
|
||||
</div>
|
||||
|
||||
<div class='right'>
|
||||
|
|
|
@ -63,12 +63,8 @@
|
|||
|
||||
.topic-list {
|
||||
|
||||
.creator {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.right {
|
||||
margin-left: 60px;
|
||||
margin-left: 55px;
|
||||
}
|
||||
|
||||
> tbody > tr {
|
||||
|
|
Loading…
Reference in New Issue