hardlounge/client/templates/chan.tpl
2014-09-22 11:54:38 -07:00

8 lines
279 B
Smarty

{{#each channels}}
<div data-id="{{id}}" data-target="#chan-{{id}}" data-title="{{name}}" class="chan {{type}}">
<span class="badge" data-count="{{unread}}">{{#if unread}}{{unread}}{{/if}}</span>
<span class="close"></span>
<span class="name">{{name}}</span>
</div>
{{/each}}