mirror of
https://github.com/discourse/discourse.git
synced 2025-06-03 02:48:28 +08:00
DEV: Add topic-list-item-mobile-avatar wrapper outlet (#30743)
This commit is contained in:
@ -234,14 +234,19 @@ export default class Item extends Component {
|
||||
/>
|
||||
</label>
|
||||
{{else}}
|
||||
<a
|
||||
href={{@topic.lastPostUrl}}
|
||||
aria-label={{i18n
|
||||
"latest_poster_link"
|
||||
username=@topic.lastPosterUser.username
|
||||
}}
|
||||
data-user-card={{@topic.lastPosterUser.username}}
|
||||
>{{avatar @topic.lastPosterUser imageSize="large"}}</a>
|
||||
<PluginOutlet
|
||||
@name="topic-list-item-mobile-avatar"
|
||||
@outletArgs={{hash topic=@topic}}
|
||||
>
|
||||
<a
|
||||
href={{@topic.lastPostUrl}}
|
||||
aria-label={{i18n
|
||||
"latest_poster_link"
|
||||
username=@topic.lastPosterUser.username
|
||||
}}
|
||||
data-user-card={{@topic.lastPosterUser.username}}
|
||||
>{{avatar @topic.lastPosterUser imageSize="large"}}</a>
|
||||
</PluginOutlet>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user