This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/discourse/app/components/card-container.hbs
David Taylor f410bd724e
DEV: Move user/group cards from named outlet to component
Named outlets are deprecated and will be removed in Ember 4.x.
2023-03-17 13:44:01 +00:00

20 lines
585 B
Handlebars

{{#if this.site.mobileView}}
<div class="card-cloak hidden"></div>
{{/if}}
<UserCardContents
@topic={{this.topic.model}}
@showUser={{this.showUser}}
@filterPosts={{this.filterPosts}}
@composePrivateMessage={{route-action "composePrivateMessage"}}
@createNewMessageViaParams={{route-action "createNewMessageViaParams"}}
role="dialog"
aria-labelledby="discourse-user-card-title"
/>
<GroupCardContents
@topic={{this.topic.model}}
@showUser={{this.showUser}}
@showGroup={{this.showGroup}}
@createNewMessageViaParams={{route-action "createNewMessageViaParams"}}
/>