1
<h1>Federation links</h1>
2
<div class="updatable">
3
<% if (links.length > 0) { %>
8
<% if (vhosts_interesting) { %>
12
<% if (nodes_interesting) { %>
16
<th>Inbound message rate</th>
22
for (var i = 0; i < links.length; i++) {
27
<%= fmt_string(link.connection) %>
28
<% if (link.exchange != link.upstream_exchange) { %>
29
<sub><%= fmt_string(link.upstream_exchange) %></sub>
32
<% if (vhosts_interesting) { %>
33
<td><%= fmt_string(link.vhost) %></td>
35
<td><%= link_exchange(link.vhost, link.exchange) %></td>
36
<% if (nodes_interesting) { %>
37
<td><%= fmt_string(link.node) %></td>
39
<% if (link.error) { %>
41
<div class="red"><acronym title="<%= fmt_escape_html_one_line(link.error) %>"><%= link.status %></acronym></div>
44
<td><%= link.timestamp %></td>
48
<div class="green"><%= link.status %></div>
51
<% if (link.local_channel) { %>
52
<%= fmt_rate(link.local_channel.message_stats, 'confirm') %>
55
<td><%= link.timestamp %></td>
62
<p>... no links ...</p>