hardlounge/client/views/chan.tpl
2016-03-13 18:05:05 +02:00

8 lines
330 B
Smarty

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