mirror of
https://github.com/thelounge/thelounge
synced 2024-12-18 16:33:16 +00:00
7 lines
407 B
Smarty
7 lines
407 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>
|
|
{{#notEqual type "lobby"}}<button class="close" aria-label="Close"></button>{{/notEqual}}
|
|
<span class="name" title="{{name}}">{{name}}</span>
|
|
</div>
|
|
{{/each}}
|