* DEV: uses with private API for currentPath router.currentRouteName as a slightly different API and application.currentPath is deprecated * another fix
18 lines
517 B
Handlebars
18 lines
517 B
Handlebars
{{#if site.mobileView}}
|
|
<div class="card-cloak hidden"></div>
|
|
{{/if}}
|
|
|
|
{{user-card-contents
|
|
currentPath=router._router.currentPath
|
|
topic=topic.model
|
|
showUser=(action "showUser")
|
|
togglePosts=(action "togglePosts")
|
|
createNewMessageViaParams=(route-action "createNewMessageViaParams")}}
|
|
|
|
{{group-card-contents
|
|
currentPath=router._router.currentPath
|
|
topic=topic.model
|
|
showUser=(action "showUser")
|
|
showGroup=(action "showGroup")
|
|
createNewMessageViaParams=(route-action "createNewMessageViaParams")}}
|