Add relay number to channel list
This commit is contained in:
parent
0462df1ca3
commit
b2121913b6
|
@ -6,21 +6,25 @@
|
|||
<table class="table is-fullwidth is-hoverable">
|
||||
<thead>
|
||||
<th>channel</th>
|
||||
<th>num</th>
|
||||
<th>actions</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for channel, info in channels.items %}
|
||||
{% for channel in channels %}
|
||||
<tr>
|
||||
<td>
|
||||
{{ channel }}
|
||||
{{ channel.name }}
|
||||
<span class="tag">
|
||||
{{ info }}
|
||||
{{ channel.users }}
|
||||
</span>
|
||||
</td>
|
||||
<td>
|
||||
{{ channel.num }}
|
||||
</td>
|
||||
<td>
|
||||
<button
|
||||
hx-headers='{"X-CSRFToken": "{{ csrf_token }}"}'
|
||||
hx-delete="{% url 'threshold_irc_network_channel' net channel %}"
|
||||
hx-delete="{% url 'threshold_irc_network_channel' net channel.name %}"
|
||||
hx-target="#channels"
|
||||
hx-swap="outerHTML"
|
||||
class="button is-danger is-small">
|
||||
|
|
Loading…
Reference in New Issue