thelounge/client/templates/chan.tpl

8 lines
235 B
Smarty
Raw Normal View History

2014-08-25 23:13:47 +00:00
{{#each channels}}
<button data-id="{{id}}" data-target="#chan-{{id}}" data-title="{{name}}" class="chan {{type}}">
<span class="badge">{{#if unread}}{{unread}}{{/if}}</span>
2014-08-25 23:13:47 +00:00
<span class="close"></span>
{{name}}
</button>
{{/each}}