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/group.js.handlebars
Boris 66711816cd Group profile page template: add extra class so that we can differentiate group details from user details in CSS
Since the layout of the "user details" section on the Group profile page is very different from a regular User profile page, we need to be able to selectively style the Group profile. Achieve this by adding a CSS flagging class.
2014-05-28 13:27:52 +10:00

27 lines
831 B
Handlebars

<div class="container">
<section class='user-navigation'>
<ul class='action-list nav-stacked'>
<li {{bind-attr class="showingIndex:active"}}>
{{#link-to 'group.index' model}}{{i18n groups.posts}}
<span class='count'>({{counts.posts}})</span>
<span class='fa fa-chevron-right'></span>{{/link-to}}
</li>
<li {{bind-attr class="showingMembers:active"}}>
{{#link-to 'group.members' model}}{{i18n groups.members}}
<span class='count'>({{counts.members}})</span>
<span class='fa fa-chevron-right'></span>{{/link-to}}
</li>
</ul>
</section>
<section class='user-main'>
<section class='about group'>
<div class='details'>
<h1>{{name}}</h1>
</div>
</section>
{{outlet}}
</section>
</div>