mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
Use notEqual helper for close button
This commit is contained in:
parent
06becc798f
commit
aad9033d06
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
{{#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}}
|
||||
{{#notEqual type "lobby"}}<button class="close" aria-label="Close"></button>{{/notEqual}}
|
||||
<span class="name" title="{{name}}">{{name}}</span>
|
||||
</div>
|
||||
{{/each}}
|
||||
|
|
Loading…
Reference in a new issue