thelounge/client/templates/chan.tpl
2014-09-21 09:46:43 -07:00

7 lines
235 B
Smarty

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