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/templates/topic_summary/private_message.js.handlebars
2013-02-11 16:14:44 -08:00

19 lines
606 B
Handlebars

<h3><i class='icon icon-lock'></i> {{i18n private_message_info.title}}</h3>
<div class='participants clearfix'>
{{#each content.allowed_users}}
<div class='user'>
<a href='/users/{{lower username}}'>
{{avatar this avatarTemplatePath="avatar_template" imageSize="small"}}
</a>
<a href='/users/{{lower username}}'>
{{unbound username}}
</a>
</div>
{{/each}}
</div>
{{#if controller.content.can_invite_to}}
<div class='controls'>
<button class='btn' {{action showPrivateInviteModal target="controller"}}>{{i18n private_message_info.invite}}</button>
</div>
{{/if}}