DEV: Add topic-list-item-mobile-avatar wrapper outlet (#30743)

This commit is contained in:
David Taylor
2025-01-13 20:10:37 +00:00
committed by GitHub
parent 11cc931a64
commit 461dcf44d0

View File

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