mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-02-20 17:52:50 +00:00
Render publish problems only when there are problems
This commit is contained in:
parent
0fba615afb
commit
9e200fc014
@ -24,7 +24,7 @@
|
||||
|
||||
<ul>
|
||||
<li t:render="encoding" />
|
||||
<li t:render="problems" />
|
||||
<t:transparent t:render="problems" />
|
||||
<li t:render="sharemap" />
|
||||
<li>Timings:</li>
|
||||
<ul>
|
||||
|
@ -843,7 +843,7 @@ class PublishStatusElement(Element):
|
||||
for peerid in sorted(problems.keys()):
|
||||
peerid_s = idlib.shortnodeid_b2a(peerid)
|
||||
l(tags.li("[%s]: %s" % (peerid_s, problems[peerid])))
|
||||
return tag("Server Problems:", l)
|
||||
return tag(tags.li("Server Problems:", l))
|
||||
|
||||
def _get_rate(self, name):
|
||||
file_size = self._publish_status.get_size()
|
||||
|
Loading…
x
Reference in New Issue
Block a user