thelounge/client/templates/chan.tpl
Mattias Erming 2fd5f293f0 Minor fixes
2014-09-21 12:48:26 -07:00

8 lines
259 B
Smarty

{{#each channels}}
<button 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>
{{name}}
</button>
{{/each}}