mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-26 08:01:06 +00:00
Add a note about rendering download events tables
This commit is contained in:
parent
b02cfa5bbe
commit
f3edc8a48c
@ -540,6 +540,9 @@ class DownloadStatusElement(Element, DownloadResultsRendererMixin):
|
|||||||
return tags.span(time_s, title=rate)
|
return tags.span(time_s, title=rate)
|
||||||
return tags.span(time_s)
|
return tags.span(time_s)
|
||||||
|
|
||||||
|
# XXX: This method is a candidate for refactoring. It renders
|
||||||
|
# four tables from this function. Layout part of those tables
|
||||||
|
# could be moved to download-status.xhtml.
|
||||||
@renderer
|
@renderer
|
||||||
def events(self, req, tag):
|
def events(self, req, tag):
|
||||||
if not self._download_status.storage_index:
|
if not self._download_status.storage_index:
|
||||||
|
Loading…
Reference in New Issue
Block a user