From 5d84a25f213af0327b6d5dea548a0354e9e48256 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Tue, 28 Apr 2020 07:50:03 -0400 Subject: [PATCH] Add introducers row renderer --- src/allmydata/web/root.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/allmydata/web/root.py b/src/allmydata/web/root.py index a2aaa020f..bf0535000 100644 --- a/src/allmydata/web/root.py +++ b/src/allmydata/web/root.py @@ -442,9 +442,11 @@ class RootElement(Element): tag.fillSlots("summary", [cs.summary, details]) tag.fillSlots("details", "") - def render_introducers_row(self, ctx, cs): - self._render_connection_status(ctx, cs) - return ctx.tag + @renderer + def introducers_row(self, req, tag): + for cs in self._get_introducers(): + self._render_connection_status(tag, cs) + return tag @renderer def helper_furl_prefix(self, req, tag):