diff --git a/templates/index.mako b/templates/index.mako index dafc474..1e4340e 100644 --- a/templates/index.mako +++ b/templates/index.mako @@ -114,9 +114,8 @@ -
- - + + @@ -172,16 +171,18 @@ % if query.turnitin_result.reports:

Turnitin (through EranBot) found revisions that may have been plagiarized. Please review them.

+ + ## TODO: make this prettier/tabular %for report in turnitin_result.reports: - %endfor - +
Turnitin report ${report.reportid} for text added in revision ${loop.index} +## TODO: Rework this to something like: [Turnitin report](link) for [revision at timestamp](diff link). Requires API-result-parsing/TurnitinReport changes. Shouldn't be too bad. Reason: needs to make it clear that Turnitin is looking at individual revisions; current report does not.
    % for source in report.sources:
  • ${source['percent']}% of revision text (${source['words']} words) found at ${source['url']}
  • % endfor -
+
% else:

Turnitin (through EranBot) found no matching sources.