mirror of
https://github.com/thelounge/thelounge
synced 2024-12-11 21:22:35 +00:00
1d47290ada
Thanks to @xPaw for the base of this code
18 lines
376 B
Smarty
18 lines
376 B
Smarty
<table class="channel-list">
|
|
<thead>
|
|
<tr>
|
|
<th class="channel">Channel</th>
|
|
<th class="users">Users</th>
|
|
<th class="topic">Topic</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{#each channels}}
|
|
<tr>
|
|
<td class="channel">{{{parse channel}}}</td>
|
|
<td class="users">{{num_users}}</td>
|
|
<td class="topic">{{{parse topic}}}</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
</table>
|