<template name="sidebarItem">
	<li class="sidebar-item {{#if active}}sidebar-item--active{{else}}{{#if darken}}sidebar-item--darken{{else}}sidebar-item--lighten{{/if}}{{/if}} {{#if toolbar}}popup-item{{/if}}" data-id="{{_id}}">
		{{#if statusClass}}
			<div class="sidebar-item__user-status sidebar-item__user-status--{{statusClass}}"></div>
		{{/if}}
		<a class="sidebar-item__link {{alertClass}} {{#if active}}sidebar-item__link--active{{/if}}" href="{{#if route}}{{route}}{{else}}{{pathFor pathSection group=pathGroup}}{{/if}}" title="{{name}}">
			<div class="sidebar-item__picture">
				{{#if icon}}
					{{> icon block="sidebar-item__icon" icon=icon}}
				{{else}}
					{{#if avatar}}
						<div class="sidebar-item__user-thumb">
							{{> avatar username=username}}
						</div>
					{{/if}}
				{{/if}}
			</div>
			<div class='sidebar-item__name {{archivedClass}}'>{{name}}</div>
			{{#if unread}}
			<span class="badge badge--unread">{{unread}}</span>
			{{/if}}
		</a>
	</li>
</template>

<template name="sidebarItem">
	<li class="sidebar-item {{#if active}}sidebar-item--active{{else}}{{#if darken}}sidebar-item--darken{{else}}sidebar-item--lighten{{/if}}{{/if}} {{#if toolbar}}popup-item{{/if}}" data-id="{{_id}}">
		{{#if statusClass}}
			<div class="sidebar-item__user-status sidebar-item__user-status--{{statusClass}}"></div>
		{{/if}}
		<a class="sidebar-item__link {{alertClass}} {{#if active}}sidebar-item__link--active{{/if}}" href="{{#if route}}{{route}}{{else}}{{pathFor pathSection group=pathGroup}}{{/if}}" title="{{name}}">
			<div class="sidebar-item__picture">
				{{#if icon}}
					{{> icon block="sidebar-item__icon" icon=icon}}
				{{else}}
					{{#if avatar}}
						<div class="sidebar-item__user-thumb">
							{{> avatar username=username}}
						</div>
					{{/if}}
				{{/if}}
			</div>
			<div class='sidebar-item__name {{archivedClass}}'>{{name}}</div>
			{{#if unread}}
				<span class="badge badge--unread">{{unread}}</span>
			{{/if}}
			<div class="sidebar-item__menu">
				{{> icon block="sidebar-item__menu-icon" icon="menu"}}
			</div>
		</a>
	</li>
</template>

Add leave and hide buttons again
Add leave and hide buttons again