{{#if site.mobileView}}
  <div class="card-cloak hidden"></div>
{{/if}}

{{user-card-contents
  topic=topic.model
  showUser=(action "showUser")
  filterPosts=(action "filterPosts")
  composePrivateMessage=(route-action "composePrivateMessage")
  createNewMessageViaParams=(route-action "createNewMessageViaParams")}}

{{group-card-contents
  topic=topic.model
  showUser=(action "showUser")
  showGroup=(action "showGroup")
  createNewMessageViaParams=(route-action "createNewMessageViaParams")}}
