Shuo/client/views/chan.tpl

8 lines
279 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}}">
2014-09-21 19:48:26 +00:00
<span class="badge" data-count="{{unread}}">{{#if unread}}{{unread}}{{/if}}</span>
2014-08-25 23:13:47 +00:00
<span class="close"></span>
<span class="name">{{name}}</span>
</div>
2014-08-25 23:13:47 +00:00
{{/each}}