hardlounge/client/views/chan.tpl

8 lines
368 B
Smarty
Raw Normal View History

2014-08-25 23:13:47 +00:00
{{#each channels}}
<div data-id="{{id}}" data-target="#chan-{{id}}" data-title="{{name}}" class="chan {{type}} chan-{{slugify name}}">
<span class="badge{{#if highlight}} highlight{{/if}}">{{#if unread}}{{roundBadgeNumber unread}}{{/if}}</span>
<button class="close" aria-label="Close"></button>
2016-02-21 01:28:45 +00:00
<span class="name" title="{{name}}">{{name}}</span>
</div>
2014-08-25 23:13:47 +00:00
{{/each}}