diff --git a/src/allmydata/web/check_results.py b/src/allmydata/web/check_results.py index d244d25c8..27ca2fed7 100644 --- a/src/allmydata/web/check_results.py +++ b/src/allmydata/web/check_results.py @@ -748,7 +748,7 @@ class DeepCheckAndRepairResultsRendererElement(Element, ResultsBase, ReloadMixin cr = r.get_pre_repair_results() if not cr.is_healthy(): problem = self._join_pathstring(path), ": ", self._html(cr.get_summary()) - problems.append(problem) + problems.append({"problem": problem}) return SlotsSequenceElement(tag, problems) @@ -770,7 +770,7 @@ class DeepCheckAndRepairResultsRendererElement(Element, ResultsBase, ReloadMixin cr = r.get_post_repair_results() if not cr.is_healthy(): problem = self._join_pathstring(path), ": ", self._html(cr.get_summary()) - problems.append(problem) + problems.append({"problem": problem}) return SlotsSequenceElement(tag, problems) @@ -784,7 +784,7 @@ class DeepCheckAndRepairResultsRendererElement(Element, ResultsBase, ReloadMixin def servers_with_corrupt_shares(self, req, tag): # TODO: this was originally unimplemented before porting to # twisted.web.template; leaving it as such. - corrupt = [] + corrupt = [{"share":"unimplemented"}] return SlotsSequenceElement(tag, corrupt) @renderer @@ -797,7 +797,7 @@ class DeepCheckAndRepairResultsRendererElement(Element, ResultsBase, ReloadMixin def post_repair_corrupt_shares(self, req, tag): # TODO: this was not implemented before porting to # twisted.web.template; leaving it as such. - corrupt = [] + corrupt = [{"share":"unimplemented"}] return SlotsSequenceElement(tag, corrupt) @renderer diff --git a/src/allmydata/web/deep-check-and-repair-results.xhtml b/src/allmydata/web/deep-check-and-repair-results.xhtml index 936613c70..c8cf2deea 100644 --- a/src/allmydata/web/deep-check-and-repair-results.xhtml +++ b/src/allmydata/web/deep-check-and-repair-results.xhtml @@ -35,7 +35,9 @@

Files/Directories That Had Problems:

@@ -44,7 +46,9 @@

Files/Directories That Still Have Problems:

@@ -52,7 +56,9 @@

Servers on which corrupt shares were found

@@ -61,7 +67,9 @@

Remaining Corrupt Shares

These shares need to be manually inspected and removed.

@@ -70,7 +78,7 @@
- +
Relative Path Healthy Pre-Repair Recoverable Pre-Repair