mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 17:52:45 +08:00
FIX: correctly access last poster username (#15661)
Testing this is kinda complicated ATM (especially mobile template with hbr) , this is a component we should definitely aim to test very extensively when we move away from hbr templates.
This commit is contained in:
parent
1d02b9728d
commit
2426e3510d
|
@ -1,7 +1,7 @@
|
|||
<td class="topic-list-data">
|
||||
{{~raw-plugin-outlet name="topic-list-before-columns"}}
|
||||
<div class='pull-left'>
|
||||
<a href="{{topic.lastPostUrl}}" data-user-card="{{topic.last_poster_username}}">{{avatar topic.lastPosterUser imageSize="large"}}</a>
|
||||
<a href="{{topic.lastPostUrl}}" data-user-card="{{topic.lastPosterUser.username}}">{{avatar topic.lastPosterUser imageSize="large"}}</a>
|
||||
</div>
|
||||
<div class='right'>
|
||||
{{!--
|
||||
|
|
Loading…
Reference in New Issue
Block a user