mirror of
https://github.com/thelounge/thelounge
synced 2024-12-19 00:43:09 +00:00
daa45c13fd
Without cheating and doing `display: none` this time around.
7 lines
409 B
Smarty
7 lines
409 B
Smarty
{{#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>
|
|
{{#equal type "lobby"}}{{else}}<button class="close" aria-label="Close"></button>{{/equal}}
|
|
<span class="name" title="{{name}}">{{name}}</span>
|
|
</div>
|
|
{{/each}}
|