mirror of
https://github.com/thelounge/thelounge
synced 2024-11-30 15:59:13 +00:00
26 lines
576 B
Smarty
26 lines
576 B
Smarty
|
{{#each channels}}
|
||
|
<div id="chan-{{id}}" data-id="{{id}}" data-type="{{type}}" class="chan {{type}}">
|
||
|
<div class="header">
|
||
|
<button class="lt"></button>
|
||
|
<button class="rt"></button>
|
||
|
<span class="title">{{name}}</span>
|
||
|
<span class="topic">{{type}} </span>
|
||
|
</div>
|
||
|
<div class="chat">
|
||
|
{{#equal 100 messages.length}}
|
||
|
<button class="show-more" data-id="{{id}}">
|
||
|
Show more
|
||
|
</button>
|
||
|
{{/equal}}
|
||
|
<div class="messages">
|
||
|
{{partial "msg"}}
|
||
|
</div>
|
||
|
</div>
|
||
|
<aside class="sidebar">
|
||
|
<div class="users">
|
||
|
{{partial "user"}}
|
||
|
</div>
|
||
|
</aside>
|
||
|
</div>
|
||
|
{{/each}}
|