2014-08-25 23:13:47 +00:00
|
|
|
{{#each channels}}
|
2017-04-16 09:31:32 +00:00
|
|
|
<div data-id="{{id}}" data-target="#chan-{{id}}" data-title="{{name}}" class="chan {{type}} chan-{{slugify name}}">
|
2017-12-13 04:52:26 +00:00
|
|
|
{{#equal type "lobby"}}
|
2017-12-21 21:23:22 +00:00
|
|
|
<span class="add-channel-tooltip tooltipped tooltipped-w tooltipped-no-touch" aria-label="Join a channel…" data-alt-label="Cancel">
|
2017-12-21 18:11:49 +00:00
|
|
|
<button class="add-channel" aria-label="Join a channel…" data-id="{{id}}"></button>
|
2017-12-13 04:52:26 +00:00
|
|
|
</span>
|
|
|
|
{{/equal}}
|
2016-09-25 06:41:10 +00:00
|
|
|
<span class="badge{{#if highlight}} highlight{{/if}}">{{#if unread}}{{roundBadgeNumber unread}}{{/if}}</span>
|
2017-12-22 10:30:23 +00:00
|
|
|
{{#notEqual type "lobby"}}<button class="close" aria-label="Close"></button>{{/notEqual}}
|
2016-02-21 01:28:45 +00:00
|
|
|
<span class="name" title="{{name}}">{{name}}</span>
|
2014-09-22 18:54:38 +00:00
|
|
|
</div>
|
2017-12-13 04:52:26 +00:00
|
|
|
{{#equal type "lobby"}}
|
|
|
|
{{> join_channel}}
|
|
|
|
{{/equal}}
|
2014-08-25 23:13:47 +00:00
|
|
|
{{/each}}
|