From 13bbda15291ea120a875b11f37055420c6913af7 Mon Sep 17 00:00:00 2001 From: Sajith Sasidharan Date: Wed, 6 May 2020 13:21:26 -0400 Subject: [PATCH] Render privkey only when there's a privkey --- src/allmydata/web/map-update-status.xhtml | 2 +- src/allmydata/web/status.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/allmydata/web/map-update-status.xhtml b/src/allmydata/web/map-update-status.xhtml index 3b963b11d..445c0b470 100644 --- a/src/allmydata/web/map-update-status.xhtml +++ b/src/allmydata/web/map-update-status.xhtml @@ -26,7 +26,7 @@
  • Total:
  • diff --git a/src/allmydata/web/status.py b/src/allmydata/web/status.py index 4755ce445..eaf0f726e 100644 --- a/src/allmydata/web/status.py +++ b/src/allmydata/web/status.py @@ -942,7 +942,7 @@ class MapupdateStatusElement(Element): def privkey_from(self, req, tag): server = self._update_status.get_privkey_from() if server: - return tag("Got privkey from: [%s]" % server.get_name()) + return tag(tags.li("Got privkey from: [%s]" % server.get_name())) else: return tag